PHP 클래스 Yosymfony\Spress\Core\ContentManager\Generator\GeneratorManager

저자: Victor Puertas ([email protected])
파일 보기 프로젝트 열기: spress/spress 1 사용 예제들

공개 메소드들

메소드 설명
addGenerator ( string $name, Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface $generator ) Adds a new generator.
clearGenerator ( ) Clears all generators registered.
countGenerator ( ) : integer Counts the generators registered.
getGenerator ( string $name ) : Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface Gets a generator.
hasGenerator ( string $name ) : boolean Checks if a generator exists.
removeGenerator ( string $name ) Removes a generator.
setGenerator ( string $name, Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface $generator ) Sets a generator.

메소드 상세

addGenerator() 공개 메소드

Adds a new generator.
public addGenerator ( string $name, Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface $generator )
$name string The generator name
$generator Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface

clearGenerator() 공개 메소드

Clears all generators registered.
public clearGenerator ( )

countGenerator() 공개 메소드

Counts the generators registered.
public countGenerator ( ) : integer
리턴 integer

getGenerator() 공개 메소드

Gets a generator.
public getGenerator ( string $name ) : Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface
$name string The generator name
리턴 Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface

hasGenerator() 공개 메소드

Checks if a generator exists.
public hasGenerator ( string $name ) : boolean
$name string The generator name
리턴 boolean

removeGenerator() 공개 메소드

Removes a generator.
public removeGenerator ( string $name )
$name string The generator name

setGenerator() 공개 메소드

Sets a generator.
public setGenerator ( string $name, Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface $generator )
$name string The generator name
$generator Yosymfony\Spress\Core\ContentManager\Generator\GeneratorInterface