PHP 클래스 Gregwar\Formidable\Factory

저자: Grégoire Passault ([email protected])
상속: extends Gregwar\Formidable\Language\LanguageAware
파일 보기 프로젝트 열기: gregwar/formidable 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$formClass Form clas
$parserClass Parser class
$typeClasses Field types

공개 메소드들

메소드 설명
__construct ( ) Constructs the factory
getField ( $name ) Get a field of a given type
getForm ( $pathOrContent, array $vars = [], $cache = false ) Get a form in this factory
getObject ( $name ) Get an object
getParser ( $content, $offset ) Get a parser
registerType ( $type, $class ) Register a type

보호된 메소드들

메소드 설명
inject ( $object )

메소드 상세

__construct() 공개 메소드

Constructs the factory
public __construct ( )

getField() 공개 메소드

Get a field of a given type
public getField ( $name )

getForm() 공개 메소드

Get a form in this factory
public getForm ( $pathOrContent, array $vars = [], $cache = false )
$vars array

getObject() 공개 메소드

Get an object
public getObject ( $name )

getParser() 공개 메소드

Get a parser
public getParser ( $content, $offset )

inject() 보호된 메소드

protected inject ( $object )

registerType() 공개 메소드

Register a type
public registerType ( $type, $class )

프로퍼티 상세

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

Form clas
protected $formClass

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

Parser class
protected $parserClass

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

Field types
protected $typeClasses