PHP Class Sulu\Bundle\MediaBundle\Entity\Collection

Inheritance: extends BaseCollection
Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( )
addChildren ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $children ) : Collection Add children.
addMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) : Collection Add media.
addMeta ( CollectionMeta $meta ) : Collection Add meta.
getChildren ( ) : Doctrine\Common\Collections\Collection
getDefaultMeta ( ) : CollectionMeta Get defaultMeta.
getMedia ( ) : Doctrine\Common\Collections\Collection Get media.
getMeta ( ) : Doctrine\Common\Collections\Collection Get meta.
getParent ( ) : Sulu\Bundle\MediaBundle\Entity\CollectionInterface Get parent.
getSecurityContext ( )
removeChildren ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $children ) Remove children.
removeMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) Remove media.
removeMeta ( CollectionMeta $meta ) Remove meta.
setChildren ( Doctrine\Common\Collections\Collection $children )
setDefaultMeta ( CollectionMeta $defaultMeta = null ) : Collection Set defaultMeta.
setParent ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $parent = null ) : Sulu\Bundle\MediaBundle\Entity\CollectionInterface Set parent.

Method Details

__construct() public méthode

public __construct ( )

addChildren() public méthode

Add children.
public addChildren ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $children ) : Collection
$children Sulu\Bundle\MediaBundle\Entity\CollectionInterface
Résultat Collection

addMedia() public méthode

Add media.
public addMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) : Collection
$media Sulu\Bundle\MediaBundle\Entity\MediaInterface
Résultat Collection

addMeta() public méthode

Add meta.
public addMeta ( CollectionMeta $meta ) : Collection
$meta CollectionMeta
Résultat Collection

getChildren() public méthode

public getChildren ( ) : Doctrine\Common\Collections\Collection
Résultat Doctrine\Common\Collections\Collection

getDefaultMeta() public méthode

Get defaultMeta.
public getDefaultMeta ( ) : CollectionMeta
Résultat CollectionMeta

getMedia() public méthode

Get media.
public getMedia ( ) : Doctrine\Common\Collections\Collection
Résultat Doctrine\Common\Collections\Collection

getMeta() public méthode

Get meta.
public getMeta ( ) : Doctrine\Common\Collections\Collection
Résultat Doctrine\Common\Collections\Collection

getParent() public méthode

Get parent.
public getParent ( ) : Sulu\Bundle\MediaBundle\Entity\CollectionInterface
Résultat Sulu\Bundle\MediaBundle\Entity\CollectionInterface

getSecurityContext() public méthode

public getSecurityContext ( )

removeChildren() public méthode

Remove children.
public removeChildren ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $children )
$children Sulu\Bundle\MediaBundle\Entity\CollectionInterface

removeMedia() public méthode

Remove media.
public removeMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media )
$media Sulu\Bundle\MediaBundle\Entity\MediaInterface

removeMeta() public méthode

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

setChildren() public méthode

public setChildren ( Doctrine\Common\Collections\Collection $children )
$children Doctrine\Common\Collections\Collection

setDefaultMeta() public méthode

Set defaultMeta.
public setDefaultMeta ( CollectionMeta $defaultMeta = null ) : Collection
$defaultMeta CollectionMeta
Résultat Collection

setParent() public méthode

Set parent.
public setParent ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $parent = null ) : Sulu\Bundle\MediaBundle\Entity\CollectionInterface
$parent Sulu\Bundle\MediaBundle\Entity\CollectionInterface
Résultat Sulu\Bundle\MediaBundle\Entity\CollectionInterface