Property | Type | Description | |
---|---|---|---|
$breadcrumb | array | ||
$children | |||
$entity | Sulu\Bundle\MediaBundle\Entity\CollectionInterface | ||
$mediaCount | integer | ||
$parent | |||
$preview | array | ||
$properties | array | ||
$subCollectionCount | integer |
Method | Description | |
---|---|---|
__construct ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection, $locale ) | ||
addChild ( |
Add child to resource. | |
getBreadcrumb ( ) : array | ||
getChanged ( ) : string | ||
getChanger ( ) : string | ||
getChildren ( ) : |
Returns children of resource. | |
getCreated ( ) : string | ||
getCreator ( ) : string | ||
getDescription ( ) : string | ||
getHasSub ( ) : boolean | Indicates if sub collections exists. | |
getId ( ) : integer | ||
getKey ( ) : string | ||
getLocale ( ) : mixed | ||
getLocked ( ) : string | ||
getMediaCount ( ) : integer | ||
getObjectCount ( ) : integer | ||
getParent ( ) : |
||
getPreview ( ) : array | ||
getProperties ( ) : array | ||
getStyle ( ) : array | ||
getSubCollectionCount ( ) : integer | ||
getTitle ( ) : string | ||
getType ( ) : |
||
setBreadcrumb ( array $breadcrumb ) | ||
setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer ) | ||
setChildren ( |
Set children of resource. | |
setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator ) | ||
setDescription ( string $description ) | ||
setKey ( string $key ) | ||
setMediaCount ( integer $mediaCount ) | ||
setParent ( |
||
setPreview ( array $preview ) | ||
setProperties ( array $properties ) | ||
setStyle ( array $style ) | ||
setSubCollectionCount ( integer $subCollectionCount ) | ||
setTitle ( string $title ) | ||
setType ( |
Method | Description | |
---|---|---|
getMeta ( boolean $create = false ) : |
public __construct ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection, $locale ) | ||
$collection | Sulu\Bundle\MediaBundle\Entity\CollectionInterface |
public addChild ( |
||
$child |
public getChildren ( ) : |
||
return |
public getMediaCount ( ) : integer | ||
return | integer | The number of media contained by the collection |
public getSubCollectionCount ( ) : integer | ||
return | integer | The number of sub collections contained by the collection |
public getType ( ) : |
||
return |
public setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer ) | ||
$changer | Sulu\Component\Security\Authentication\UserInterface |
public setChildren ( |
||
$children |
public setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator ) | ||
$creator | Sulu\Component\Security\Authentication\UserInterface |
public setMediaCount ( integer $mediaCount ) | ||
$mediaCount | integer | The new number of media |
public setSubCollectionCount ( integer $subCollectionCount ) | ||
$subCollectionCount | integer | The new number of sub collections |
public setType ( |
||
$type |
protected Collection[],Sulu\Bundle\MediaBundle\Api $children | ||
return |
protected CollectionInterface,Sulu\Bundle\MediaBundle\Entity $entity | ||
return | Sulu\Bundle\MediaBundle\Entity\CollectionInterface |
protected Collection,Sulu\Bundle\MediaBundle\Api $parent | ||
return |