PHP 인터페이스 Sulu\Bundle\MediaBundle\Entity\MediaInterface

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

공개 메소드들

메소드 설명
addFile ( File $files ) : Media Add files.
getChanged ( ) : DateTime Get changed.
getChanger ( ) : Sulu\Component\Security\Authentication\UserInterface Get changer.
getCollection ( ) : Sulu\Bundle\MediaBundle\Entity\CollectionInterface Get collectionInterface.
getCreated ( ) : DateTime Get created.
getCreator ( ) : Sulu\Component\Security\Authentication\UserInterface Get creator.
getFiles ( ) : File[] Get files.
getId ( ) : integer Get id.
getPreviewImage ( ) : Media Get preview image.
getType ( ) : MediaType Get type.
removeFile ( File $files ) Remove files.
setChanged ( DateTime $changed ) Set changed.
setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer = null ) : Media Set changer.
setCollection ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection ) : Media Set collection.
setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null ) : Media Set creator.
setPreviewImage ( Media $previewImage = null ) : Media Set preview image.
setType ( MediaType $type ) : Media Set type.

메소드 상세

addFile() 공개 메소드

Add files.
public addFile ( File $files ) : Media
$files File
리턴 Media

getChanged() 공개 메소드

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

getChanger() 공개 메소드

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

getCollection() 공개 메소드

Get collectionInterface.
public getCollection ( ) : Sulu\Bundle\MediaBundle\Entity\CollectionInterface
리턴 Sulu\Bundle\MediaBundle\Entity\CollectionInterface

getCreated() 공개 메소드

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

getCreator() 공개 메소드

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

getFiles() 공개 메소드

Get files.
public getFiles ( ) : File[]
리턴 File[]

getId() 공개 메소드

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

getPreviewImage() 공개 메소드

Get preview image.
public getPreviewImage ( ) : Media
리턴 Media

getType() 공개 메소드

Get type.
public getType ( ) : MediaType
리턴 MediaType

removeFile() 공개 메소드

Remove files.
public removeFile ( File $files )
$files File

setChanged() 공개 메소드

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

setChanger() 공개 메소드

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

setCollection() 공개 메소드

Set collection.
public setCollection ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection ) : Media
$collection Sulu\Bundle\MediaBundle\Entity\CollectionInterface
리턴 Media

setCreator() 공개 메소드

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

setPreviewImage() 공개 메소드

Set preview image.
public setPreviewImage ( Media $previewImage = null ) : Media
$previewImage Media
리턴 Media

setType() 공개 메소드

Set type.
public setType ( MediaType $type ) : Media
$type MediaType
리턴 Media