PHP 클래스 Sulu\Bundle\MediaBundle\Api\Collection

상속: extends Sulu\Component\Rest\ApiWrapper
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$breadcrumb array
$children Collection[]
$entity Sulu\Bundle\MediaBundle\Entity\CollectionInterface
$mediaCount integer
$parent Collection
$preview array
$properties array
$subCollectionCount integer

공개 메소드들

메소드 설명
__construct ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection, $locale )
addChild ( Collection $child ) Add child to resource.
getBreadcrumb ( ) : array
getChanged ( ) : string
getChanger ( ) : string
getChildren ( ) : Collection[] 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 ( ) : Collection
getPreview ( ) : array
getProperties ( ) : array
getStyle ( ) : array
getSubCollectionCount ( ) : integer
getTitle ( ) : string
getType ( ) : CollectionType
setBreadcrumb ( array $breadcrumb )
setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer )
setChildren ( Collection[] $children ) Set children of resource.
setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator )
setDescription ( string $description )
setKey ( string $key )
setMediaCount ( integer $mediaCount )
setParent ( Collection $parent )
setPreview ( array $preview )
setProperties ( array $properties )
setStyle ( array $style )
setSubCollectionCount ( integer $subCollectionCount )
setTitle ( string $title )
setType ( CollectionType $type )

비공개 메소드들

메소드 설명
getMeta ( boolean $create = false ) : CollectionMeta

메소드 상세

__construct() 공개 메소드

public __construct ( Sulu\Bundle\MediaBundle\Entity\CollectionInterface $collection, $locale )
$collection Sulu\Bundle\MediaBundle\Entity\CollectionInterface

addChild() 공개 메소드

Add child to resource.
public addChild ( Collection $child )
$child Collection

getBreadcrumb() 공개 메소드

public getBreadcrumb ( ) : array
리턴 array

getChanged() 공개 메소드

public getChanged ( ) : string
리턴 string

getChanger() 공개 메소드

public getChanger ( ) : string
리턴 string

getChildren() 공개 메소드

Returns children of resource.
public getChildren ( ) : Collection[]
리턴 Collection[]

getCreated() 공개 메소드

public getCreated ( ) : string
리턴 string

getCreator() 공개 메소드

public getCreator ( ) : string
리턴 string

getDescription() 공개 메소드

public getDescription ( ) : string
리턴 string

getHasSub() 공개 메소드

Indicates if sub collections exists.
public getHasSub ( ) : boolean
리턴 boolean

getId() 공개 메소드

public getId ( ) : integer
리턴 integer

getKey() 공개 메소드

public getKey ( ) : string
리턴 string

getLocale() 공개 메소드

public getLocale ( ) : mixed
리턴 mixed

getLocked() 공개 메소드

public getLocked ( ) : string
리턴 string

getMediaCount() 공개 메소드

public getMediaCount ( ) : integer
리턴 integer The number of media contained by the collection

getObjectCount() 공개 메소드

public getObjectCount ( ) : integer
리턴 integer

getParent() 공개 메소드

public getParent ( ) : Collection
리턴 Collection

getPreview() 공개 메소드

public getPreview ( ) : array
리턴 array

getProperties() 공개 메소드

public getProperties ( ) : array
리턴 array

getStyle() 공개 메소드

public getStyle ( ) : array
리턴 array

getSubCollectionCount() 공개 메소드

public getSubCollectionCount ( ) : integer
리턴 integer The number of sub collections contained by the collection

getTitle() 공개 메소드

public getTitle ( ) : string
리턴 string

getType() 공개 메소드

public getType ( ) : CollectionType
리턴 Sulu\Bundle\MediaBundle\Entity\CollectionType

setBreadcrumb() 공개 메소드

public setBreadcrumb ( array $breadcrumb )
$breadcrumb array

setChanger() 공개 메소드

public setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer )
$changer Sulu\Component\Security\Authentication\UserInterface

setChildren() 공개 메소드

Set children of resource.
public setChildren ( Collection[] $children )
$children Collection[]

setCreator() 공개 메소드

public setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator )
$creator Sulu\Component\Security\Authentication\UserInterface

setDescription() 공개 메소드

public setDescription ( string $description )
$description string

setKey() 공개 메소드

public setKey ( string $key )
$key string

setMediaCount() 공개 메소드

public setMediaCount ( integer $mediaCount )
$mediaCount integer The new number of media

setParent() 공개 메소드

public setParent ( Collection $parent )
$parent Collection

setPreview() 공개 메소드

public setPreview ( array $preview )
$preview array

setProperties() 공개 메소드

public setProperties ( array $properties )
$properties array

setStyle() 공개 메소드

public setStyle ( array $style )
$style array

setSubCollectionCount() 공개 메소드

public setSubCollectionCount ( integer $subCollectionCount )
$subCollectionCount integer The new number of sub collections

setTitle() 공개 메소드

public setTitle ( string $title )
$title string

setType() 공개 메소드

public setType ( CollectionType $type )
$type Sulu\Bundle\MediaBundle\Entity\CollectionType

프로퍼티 상세

$breadcrumb 보호되어 있는 프로퍼티

protected array $breadcrumb
리턴 array

$children 보호되어 있는 프로퍼티

protected Collection[],Sulu\Bundle\MediaBundle\Api $children
리턴 Collection[]

$entity 보호되어 있는 프로퍼티

protected CollectionInterface,Sulu\Bundle\MediaBundle\Entity $entity
리턴 Sulu\Bundle\MediaBundle\Entity\CollectionInterface

$mediaCount 보호되어 있는 프로퍼티

protected int $mediaCount
리턴 integer

$parent 보호되어 있는 프로퍼티

protected Collection,Sulu\Bundle\MediaBundle\Api $parent
리턴 Collection

$preview 보호되어 있는 프로퍼티

protected array $preview
리턴 array

$properties 보호되어 있는 프로퍼티

protected array $properties
리턴 array

$subCollectionCount 보호되어 있는 프로퍼티

protected int $subCollectionCount
리턴 integer