PHP Interface Sulu\Bundle\MediaBundle\Entity\MediaInterface

Inheritance: extends Sulu\Component\Persistence\Model\AuditableInterface
Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

addFile() public méthode

Add files.
public addFile ( File $files ) : Media
$files File
Résultat Media

getChanged() public méthode

Get changed.
public getChanged ( ) : DateTime
Résultat DateTime

getChanger() public méthode

Get changer.
public getChanger ( ) : Sulu\Component\Security\Authentication\UserInterface
Résultat Sulu\Component\Security\Authentication\UserInterface

getCollection() public méthode

Get collectionInterface.
public getCollection ( ) : Sulu\Bundle\MediaBundle\Entity\CollectionInterface
Résultat Sulu\Bundle\MediaBundle\Entity\CollectionInterface

getCreated() public méthode

Get created.
public getCreated ( ) : DateTime
Résultat DateTime

getCreator() public méthode

Get creator.
public getCreator ( ) : Sulu\Component\Security\Authentication\UserInterface
Résultat Sulu\Component\Security\Authentication\UserInterface

getFiles() public méthode

Get files.
public getFiles ( ) : File[]
Résultat File[]

getId() public méthode

Get id.
public getId ( ) : integer
Résultat integer

getPreviewImage() public méthode

Get preview image.
public getPreviewImage ( ) : Media
Résultat Media

getType() public méthode

Get type.
public getType ( ) : MediaType
Résultat MediaType

removeFile() public méthode

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

setChanged() public méthode

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

setChanger() public méthode

Set changer.
public setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer = null ) : Media
$changer Sulu\Component\Security\Authentication\UserInterface
Résultat Media

setCollection() public méthode

Set collection.
public setCollection ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection ) : Media
$collection Sulu\Bundle\MediaBundle\Entity\CollectionInterface
Résultat Media

setCreator() public méthode

Set creator.
public setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null ) : Media
$creator Sulu\Component\Security\Authentication\UserInterface
Résultat Media

setPreviewImage() public méthode

Set preview image.
public setPreviewImage ( Media $previewImage = null ) : Media
$previewImage Media
Résultat Media

setType() public méthode

Set type.
public setType ( MediaType $type ) : Media
$type MediaType
Résultat Media