Property | Type | Description | |
---|---|---|---|
$changed | DateTime | ||
$changer | Sulu\Component\Security\Authentication\UserInterface | ||
$collection | Sulu\Bundle\MediaBundle\Entity\CollectionInterface | ||
$created | DateTime | ||
$creator | Sulu\Component\Security\Authentication\UserInterface | ||
$files | Doctrine\Common\Collections\Collection | ||
$id | integer | ||
$previewImage | |||
$type |
Method | Description | |
---|---|---|
__construct ( ) | Constructor. | |
addFile ( |
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 ( ) : |
Get files. | |
getId ( ) : integer | Get id. | |
getPreviewImage ( ) : |
Get preview image. | |
getType ( ) : |
Get type. | |
removeFile ( |
Remove files. | |
setChanged ( DateTime $changed ) | Set changed. | |
setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer = null ) : |
Set changer. | |
setCollection ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection ) : |
Set collection. | |
setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null ) : |
Set creator. | |
setPreviewImage ( |
Set preview image. | |
setType ( |
Set type. |
public getChanger ( ) : Sulu\Component\Security\Authentication\UserInterface | ||
return | Sulu\Component\Security\Authentication\UserInterface |
public getCollection ( ) : Sulu\Bundle\MediaBundle\Entity\CollectionInterface | ||
return | Sulu\Bundle\MediaBundle\Entity\CollectionInterface |
public getCreator ( ) : Sulu\Component\Security\Authentication\UserInterface | ||
return | Sulu\Component\Security\Authentication\UserInterface |
public setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer = null ) : |
||
$changer | Sulu\Component\Security\Authentication\UserInterface | |
return |
public setCollection ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection ) : |
||
$collection | Sulu\Bundle\MediaBundle\Entity\CollectionInterface | |
return |
public setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null ) : |
||
$creator | Sulu\Component\Security\Authentication\UserInterface | |
return |
public setPreviewImage ( |
||
$previewImage | ||
return |
public setType ( |
||
$type | ||
return |
protected UserInterface,Sulu\Component\Security\Authentication $changer | ||
return | Sulu\Component\Security\Authentication\UserInterface |
protected CollectionInterface,Sulu\Bundle\MediaBundle\Entity $collection | ||
return | Sulu\Bundle\MediaBundle\Entity\CollectionInterface |
protected UserInterface,Sulu\Component\Security\Authentication $creator | ||
return | Sulu\Component\Security\Authentication\UserInterface |
protected Collection,Doctrine\Common\Collections $files | ||
return | Doctrine\Common\Collections\Collection |
protected Media,Sulu\Bundle\MediaBundle\Entity $previewImage | ||
return |