MediaInterface
in
Class implements media interface.
Table of Contents
Methods
- 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.
Methods
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.