메소드 |
설명 |
|
__clone ( ) |
don't clone id to create a new entities. |
|
__construct ( ) |
Constructor. |
|
addCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $categories ) : self |
Add categories. |
|
addContentLanguage ( FileVersionContentLanguage $contentLanguages ) : FileVersion |
Add contentLanguages. |
|
addFormatOptions ( FormatOptions $formatOptions ) : FileVersion |
Adds a format-options entity to the file-version. |
|
addMeta ( FileVersionMeta $meta ) : FileVersion |
Add meta. |
|
addPublishLanguage ( FileVersionPublishLanguage $publishLanguages ) : FileVersion |
Add publishLanguages. |
|
addTag ( Tag $tags ) : FileVersion |
Add tags. |
|
getCategories ( ) : Collection |
Get categories. |
|
getChanged ( ) : DateTime |
Get changed. |
|
getChanger ( ) : Sulu\Component\Security\Authentication\UserInterface |
Get changer. |
|
getContentLanguages ( ) : Doctrine\Common\Collections\Collection |
Get contentLanguages. |
|
getCreated ( ) : DateTime |
Get created. |
|
getCreator ( ) : Sulu\Component\Security\Authentication\UserInterface |
Get creator. |
|
getDefaultMeta ( ) : FileVersionMeta |
Get defaultMeta. |
|
getDownloadCounter ( ) : integer |
Get downloadCounter. |
|
getFile ( ) : File |
Get file. |
|
getFocusPointX ( ) : integer |
Returns the x coordinate of the focus point. |
|
getFocusPointY ( ) : integer |
Returns the y coordinate of the focus point. |
|
getFormatOptions ( ) : Doctrine\Common\Collections\Collection |
Get formatOptions. |
|
getId ( ) : integer |
Get id. |
|
getMeta ( ) : FileVersionMeta[] |
Get meta. |
|
getMimeType ( ) : string |
Get mimeType. |
|
getName ( ) : string |
Get name. |
|
getProperties ( ) : array |
|
|
getPublishLanguages ( ) : Doctrine\Common\Collections\Collection |
Get publishLanguages. |
|
getSize ( ) : integer |
Get size. |
|
getStorageOptions ( ) : string |
Get storageOptions. |
|
getStorageType ( ) : string |
Get storageType. |
|
getSubVersion ( ) : integer |
Get subVersion. |
|
getTags ( ) : Doctrine\Common\Collections\Collection |
Get tags. |
|
getVersion ( ) : integer |
Get version. |
|
increaseSubVersion ( ) : FileVersion |
Increases the subversion. Required for cache busting on certain operations which change the image without
creating a new file version. |
|
removeCategories ( ) |
Remove categories. |
|
removeContentLanguage ( FileVersionContentLanguage $contentLanguages ) |
Remove contentLanguages. |
|
removeMeta ( FileVersionMeta $meta ) |
Remove meta. |
|
removePublishLanguage ( FileVersionPublishLanguage $publishLanguages ) |
Remove publishLanguages. |
|
removeTag ( Tag $tags ) |
Remove tags. |
|
removeTags ( ) |
Remove all tags. |
|
setChanged ( DateTime $changed ) |
Set changed. |
|
setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer = null ) : FileVersion |
Set changer. |
|
setCreated ( DateTime $created ) |
Get created. |
|
setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null ) : FileVersion |
Set creator. |
|
setDefaultMeta ( FileVersionMeta $defaultMeta = null ) : FileVersion |
Set defaultMeta. |
|
setDownloadCounter ( integer $downloadCounter ) : FileVersion |
Set downloadCounter. |
|
setFile ( File $file = null ) : FileVersion |
Set file. |
|
setFocusPointX ( integer $focusPointX ) |
Sets the x coordinate of the focus point. |
|
setFocusPointY ( integer $focusPointY ) |
Sets the y coordinate of the focus point. |
|
setMimeType ( string $mimeType ) : FileVersion |
Set mimeType. |
|
setName ( string $name ) : FileVersion |
Set name. |
|
setProperties ( array $properties ) : self |
|
|
setSize ( integer $size ) : FileVersion |
Set size. |
|
setStorageOptions ( string $storageOptions ) : FileVersion |
Set storageOptions. |
|
setStorageType ( string $storageType ) : FileVersion |
Set storageType. |
|
setVersion ( integer $version ) : FileVersion |
Set version. |
|