PHP 클래스 Sulu\Bundle\MediaBundle\Entity\FileVersion

상속: implements Sulu\Component\Persistence\Model\AuditableInterface
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__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.

메소드 상세

__clone() 공개 메소드

don't clone id to create a new entities.
public __clone ( )

__construct() 공개 메소드

Constructor.
public __construct ( )

addCategory() 공개 메소드

Add categories.
public addCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $categories ) : self
$categories Sulu\Bundle\CategoryBundle\Entity\CategoryInterface
리턴 self

addContentLanguage() 공개 메소드

Add contentLanguages.
public addContentLanguage ( FileVersionContentLanguage $contentLanguages ) : FileVersion
$contentLanguages FileVersionContentLanguage
리턴 FileVersion

addFormatOptions() 공개 메소드

Adds a format-options entity to the file-version.
public addFormatOptions ( FormatOptions $formatOptions ) : FileVersion
$formatOptions FormatOptions
리턴 FileVersion

addMeta() 공개 메소드

Add meta.
public addMeta ( FileVersionMeta $meta ) : FileVersion
$meta FileVersionMeta
리턴 FileVersion

addPublishLanguage() 공개 메소드

Add publishLanguages.
public addPublishLanguage ( FileVersionPublishLanguage $publishLanguages ) : FileVersion
$publishLanguages FileVersionPublishLanguage
리턴 FileVersion

addTag() 공개 메소드

Add tags.
public addTag ( Tag $tags ) : FileVersion
$tags Sulu\Bundle\TagBundle\Entity\Tag
리턴 FileVersion

getCategories() 공개 메소드

Get categories.
public getCategories ( ) : Collection
리턴 Collection

getChanged() 공개 메소드

Get changed.
public getChanged ( ) : DateTime
리턴 DateTime

getChanger() 공개 메소드

Get changer.
public getChanger ( ) : Sulu\Component\Security\Authentication\UserInterface
리턴 Sulu\Component\Security\Authentication\UserInterface

getContentLanguages() 공개 메소드

Get contentLanguages.
public getContentLanguages ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getCreated() 공개 메소드

Get created.
public getCreated ( ) : DateTime
리턴 DateTime

getCreator() 공개 메소드

Get creator.
public getCreator ( ) : Sulu\Component\Security\Authentication\UserInterface
리턴 Sulu\Component\Security\Authentication\UserInterface

getDefaultMeta() 공개 메소드

Get defaultMeta.
public getDefaultMeta ( ) : FileVersionMeta
리턴 FileVersionMeta

getDownloadCounter() 공개 메소드

Get downloadCounter.
public getDownloadCounter ( ) : integer
리턴 integer

getFile() 공개 메소드

Get file.
public getFile ( ) : File
리턴 File

getFocusPointX() 공개 메소드

Returns the x coordinate of the focus point.
public getFocusPointX ( ) : integer
리턴 integer

getFocusPointY() 공개 메소드

Returns the y coordinate of the focus point.
public getFocusPointY ( ) : integer
리턴 integer

getFormatOptions() 공개 메소드

Get formatOptions.
public getFormatOptions ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getId() 공개 메소드

Get id.
public getId ( ) : integer
리턴 integer

getMeta() 공개 메소드

Get meta.
public getMeta ( ) : FileVersionMeta[]
리턴 FileVersionMeta[]

getMimeType() 공개 메소드

Get mimeType.
public getMimeType ( ) : string
리턴 string

getName() 공개 메소드

Get name.
public getName ( ) : string
리턴 string

getProperties() 공개 메소드

public getProperties ( ) : array
리턴 array

getPublishLanguages() 공개 메소드

Get publishLanguages.
public getPublishLanguages ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getSize() 공개 메소드

Get size.
public getSize ( ) : integer
리턴 integer

getStorageOptions() 공개 메소드

Get storageOptions.
public getStorageOptions ( ) : string
리턴 string

getStorageType() 공개 메소드

Get storageType.
public getStorageType ( ) : string
리턴 string

getSubVersion() 공개 메소드

Get subVersion.
public getSubVersion ( ) : integer
리턴 integer

getTags() 공개 메소드

Get tags.
public getTags ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getVersion() 공개 메소드

Get version.
public getVersion ( ) : integer
리턴 integer

increaseSubVersion() 공개 메소드

Increases the subversion. Required for cache busting on certain operations which change the image without creating a new file version.
public increaseSubVersion ( ) : FileVersion
리턴 FileVersion

removeCategories() 공개 메소드

Remove categories.
public removeCategories ( )

removeContentLanguage() 공개 메소드

Remove contentLanguages.
public removeContentLanguage ( FileVersionContentLanguage $contentLanguages )
$contentLanguages FileVersionContentLanguage

removeMeta() 공개 메소드

Remove meta.
public removeMeta ( FileVersionMeta $meta )
$meta FileVersionMeta

removePublishLanguage() 공개 메소드

Remove publishLanguages.
public removePublishLanguage ( FileVersionPublishLanguage $publishLanguages )
$publishLanguages FileVersionPublishLanguage

removeTag() 공개 메소드

Remove tags.
public removeTag ( Tag $tags )
$tags Sulu\Bundle\TagBundle\Entity\Tag

removeTags() 공개 메소드

Remove all tags.
public removeTags ( )

setChanged() 공개 메소드

Set changed.
public setChanged ( DateTime $changed )
$changed DateTime

setChanger() 공개 메소드

Set changer.
public setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer = null ) : FileVersion
$changer Sulu\Component\Security\Authentication\UserInterface
리턴 FileVersion

setCreated() 공개 메소드

Get created.
public setCreated ( DateTime $created )
$created DateTime

setCreator() 공개 메소드

Set creator.
public setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null ) : FileVersion
$creator Sulu\Component\Security\Authentication\UserInterface
리턴 FileVersion

setDefaultMeta() 공개 메소드

Set defaultMeta.
public setDefaultMeta ( FileVersionMeta $defaultMeta = null ) : FileVersion
$defaultMeta FileVersionMeta
리턴 FileVersion

setDownloadCounter() 공개 메소드

Set downloadCounter.
public setDownloadCounter ( integer $downloadCounter ) : FileVersion
$downloadCounter integer
리턴 FileVersion

setFile() 공개 메소드

Set file.
public setFile ( File $file = null ) : FileVersion
$file File
리턴 FileVersion

setFocusPointX() 공개 메소드

Sets the x coordinate of the focus point.
public setFocusPointX ( integer $focusPointX )
$focusPointX integer

setFocusPointY() 공개 메소드

Sets the y coordinate of the focus point.
public setFocusPointY ( integer $focusPointY )
$focusPointY integer

setMimeType() 공개 메소드

Set mimeType.
public setMimeType ( string $mimeType ) : FileVersion
$mimeType string
리턴 FileVersion

setName() 공개 메소드

Set name.
public setName ( string $name ) : FileVersion
$name string
리턴 FileVersion

setProperties() 공개 메소드

public setProperties ( array $properties ) : self
$properties array
리턴 self

setSize() 공개 메소드

Set size.
public setSize ( integer $size ) : FileVersion
$size integer
리턴 FileVersion

setStorageOptions() 공개 메소드

Set storageOptions.
public setStorageOptions ( string $storageOptions ) : FileVersion
$storageOptions string
리턴 FileVersion

setStorageType() 공개 메소드

Set storageType.
public setStorageType ( string $storageType ) : FileVersion
$storageType string
리턴 FileVersion

setVersion() 공개 메소드

Set version.
public setVersion ( integer $version ) : FileVersion
$version integer
리턴 FileVersion