Свойство | Тип | Описание | |
---|---|---|---|
$additionalVersionData | array | ||
$file | |||
$fileVersion | |||
$formats | array | ||
$locale | string | ||
$localizedMeta | |||
$url | string | ||
$version | integer |
Метод | Описание | |
---|---|---|
__construct ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media, $locale, $version = null ) | ||
addCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) | Adds a category to the entity. | |
addTag ( |
||
getAdditionalVersionData ( ) : array | ||
getCategories ( ) : |
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 ( ) : |
||
getFileVersion ( ) : |
||
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 ( ) : |
||
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 ( |
||
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 ( |
||
setUrl ( string $url ) | ||
setVersion ( integer $version ) |
Метод | Описание | |
---|---|---|
getLocalizedMeta ( ) : |
Searches the meta for the file version in the media locale. Might also return a fallback. | |
getMeta ( boolean $create = false ) : |
public __construct ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media, $locale, $version = null ) | ||
$media | Sulu\Bundle\MediaBundle\Entity\MediaInterface |
public addCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) | ||
$category | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface |
public addTag ( |
||
$tagEntity |
public getAdditionalVersionData ( ) : array | ||
Результат | array |
public getCategories ( ) : |
||
Результат |
public getCopyright ( ) : string | ||
Результат | string |
public getCredits ( ) : string | ||
Результат | string |
public getFileVersion ( ) : |
||
Результат |
public getFocusPointX ( ) : integer | ||
Результат | integer |
public getFocusPointY ( ) : integer | ||
Результат | integer |
public getType ( ) : |
||
Результат |
public removeCategories ( ) |
public setAdditionalVersionData ( array $additionalVersionData ) | ||
$additionalVersionData | array |
public setChanged ( DateTime | string $changed ) | ||
$changed | DateTime | string |
public setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer ) | ||
$changer | Sulu\Component\Security\Authentication\UserInterface |
public setCollection ( |
||
$collection |
public setContentLanguages ( array $contentLanguages ) | ||
$contentLanguages | array |
public setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator ) | ||
$creator | Sulu\Component\Security\Authentication\UserInterface |
public setFocusPointX ( integer $focusPointX ) | ||
$focusPointX | integer |
public setFocusPointY ( integer $focusPointY ) | ||
$focusPointY | integer |
public setPublishLanguages ( array $publishLanguages ) | ||
$publishLanguages | array |
public setStorageOptions ( string $storageOptions ) | ||
$storageOptions | string |
public setType ( |
||
$type |
protected File,Sulu\Bundle\MediaBundle\Entity $file | ||
Результат |
protected FileVersion,Sulu\Bundle\MediaBundle\Entity $fileVersion | ||
Результат |
protected FileVersionMeta,Sulu\Bundle\MediaBundle\Entity $localizedMeta | ||
Результат |