MediaManipulationInterface
extends
MediaInterface
in
Interface MediaManipulationInterface
Not used currently
Table of Contents
Methods
- deleteMediaFile() : void
- getMedia() : MediaCollectionInterface
- Gets the associated media collection.
- getMediaFolder() : string|null
- Get filesystem path to the associated media.
- getMediaOrder() : array<string|int, mixed>
- Get display order for the associated media.
- uploadMediaFile() : void
Methods
deleteMediaFile()
public
deleteMediaFile(string $filename) : void
Parameters
- $filename : string
getMedia()
Gets the associated media collection.
public
getMedia() : MediaCollectionInterface
Return values
MediaCollectionInterface —Collection of associated media.
getMediaFolder()
Get filesystem path to the associated media.
public
getMediaFolder() : string|null
Return values
string|null —Media path or null if the object doesn't have media folder.
getMediaOrder()
Get display order for the associated media.
public
getMediaOrder() : array<string|int, mixed>
Return values
array<string|int, mixed> —Empty array means default ordering.
uploadMediaFile()
public
uploadMediaFile(UploadedFileInterface $uploadedFile) : void
Parameters
- $uploadedFile : UploadedFileInterface