Method |
Description |
|
__construct ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media, $locale, $version = null ) |
|
|
addCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) |
Adds a category to the entity. |
|
addTag ( Tag $tagEntity ) |
|
|
getAdditionalVersionData ( ) : array |
|
|
getCategories ( ) : Category[] |
Returns the categories of the media. |
|
getChanged ( ) : string |
|
|
getChanger ( ) : string |
|
|
getCollection ( ) : integer |
|
|
getContentLanguages ( ) : array |
|
|
getCopyright ( ) : string |
Returns copyright for media. |
|
getCreated ( ) : mixed |
|
|
getCreator ( ) : string |
|
|
getCredits ( ) : string |
Returns copyright for media. |
|
getDescription ( ) : string |
|
|
getDownloadCounter ( ) : string |
|
|
getFallbackLocale ( ) : string |
|
|
getFile ( ) : File |
|
|
getFileVersion ( ) : FileVersion |
|
|
getFocusPointX ( ) : integer |
Returns the x coordinate of the focus point. |
|
getFocusPointY ( ) : integer |
Returns the y coordinate of the focus point. |
|
getFormats ( ) : array |
|
|
getId ( ) : integer |
|
|
getLocale ( ) : string |
|
|
getMimeType ( ) : string |
|
|
getName ( ) : integer |
|
|
getProperties ( ) : array |
|
|
getPublishLanguages ( ) : array |
|
|
getSize ( ) : integer |
|
|
getStorageOptions ( ) : string |
|
|
getSubVersion ( ) : integer |
|
|
getTags ( ) : array |
|
|
getThumbnails ( ) : array |
|
|
getTitle ( ) : string |
|
|
getType ( ) : MediaType |
|
|
getUrl ( ) : string |
|
|
getVersion ( ) : integer |
|
|
getVersions ( ) : array |
|
|
isAudio ( ) : boolean |
|
|
isDocument ( ) : boolean |
|
|
isImage ( ) : boolean |
|
|
isTypeOf ( string $type ) : boolean |
|
|
isVideo ( ) : boolean |
|
|
removeCategories ( ) |
Removes all category from the entity. |
|
removeTags ( ) |
|
|
setAdditionalVersionData ( array $additionalVersionData ) |
|
|
setChanged ( DateTime | string $changed ) |
|
|
setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer ) |
|
|
setCollection ( Collection $collection ) |
|
|
setContentLanguages ( array $contentLanguages ) |
|
|
setCopyright ( string $copyright ) |
|
|
setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator ) |
|
|
setCredits ( string $credits ) |
|
|
setDescription ( string $description ) |
|
|
setFocusPointX ( integer $focusPointX ) |
Sets the x coordinate of the focus point. |
|
setFocusPointY ( integer $focusPointY ) |
Sets the y coordinate of the focus point. |
|
setFormats ( array $formats ) |
|
|
setMimeType ( string $mimeType ) |
|
|
setName ( integer $name ) |
|
|
setProperties ( array $properties ) |
|
|
setPublishLanguages ( array $publishLanguages ) |
|
|
setSize ( integer $size ) |
|
|
setStorageOptions ( string $storageOptions ) |
|
|
setTitle ( string $title ) |
|
|
setType ( MediaType $type ) |
|
|
setUrl ( string $url ) |
|
|
setVersion ( integer $version ) |
|
|