PHP 클래스 Sulu\Bundle\MediaBundle\Entity\CollectionType

파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) Constructor.
addCollection ( Collection $collections ) Add collections.
getCollections ( ) : Collection Get collections.
getDescription ( ) : string Get description.
getId ( ) : integer Get id.
getKey ( ) : string Get key.
getName ( ) : string Get name.
removeCollection ( Collection $collections ) Remove collections.
setDescription ( string $description ) Set description.
setId ( integer $id ) To force id = 1 in load fixtures.
setKey ( string $key ) Set key.
setName ( string $name ) Set name.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

addCollection() 공개 메소드

Add collections.
public addCollection ( Collection $collections )
$collections Collection

getCollections() 공개 메소드

Get collections.
public getCollections ( ) : Collection
리턴 Collection

getDescription() 공개 메소드

Get description.
public getDescription ( ) : string
리턴 string

getId() 공개 메소드

Get id.
public getId ( ) : integer
리턴 integer

getKey() 공개 메소드

Get key.
public getKey ( ) : string
리턴 string

getName() 공개 메소드

Get name.
public getName ( ) : string
리턴 string

removeCollection() 공개 메소드

Remove collections.
public removeCollection ( Collection $collections )
$collections Collection

setDescription() 공개 메소드

Set description.
public setDescription ( string $description )
$description string

setId() 공개 메소드

To force id = 1 in load fixtures.
public setId ( integer $id )
$id integer

setKey() 공개 메소드

Set key.
public setKey ( string $key )
$key string

setName() 공개 메소드

Set name.
public setName ( string $name )
$name string