PHP 클래스 Symfony\Component\Form\FormBuilder

저자: Bernhard Schussek ([email protected])
상속: extends Symfony\Component\Form\FormConfigBuilder, implements IteratorAggregate, implements Symfony\Component\Form\FormBuilderInterface
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $name, string $dataClass, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Symfony\Component\Form\FormFactoryInterface $factory, array $options = [] ) Creates a new form builder.
add ( $child, $type = null, array $options = [] )
all ( )
count ( )
create ( $name, $type = null, array $options = [] )
get ( $name )
getForm ( )
getFormFactory ( )
getIterator ( )
getParent ( )
getTypes ( ) : array Returns the types used by this builder.
has ( $name )
hasParent ( )
remove ( $name )
setParent ( Symfony\Component\Form\FormBuilderInterface $parent = null )

비공개 메소드들

메소드 설명
resolveChild ( string $name ) : FormBuilder Converts an unresolved child into a {@link FormBuilder} instance.
resolveChildren ( ) Converts all unresolved children into {@link FormBuilder} instances.

메소드 상세

__construct() 공개 메소드

Creates a new form builder.
public __construct ( string $name, string $dataClass, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Symfony\Component\Form\FormFactoryInterface $factory, array $options = [] )
$name string
$dataClass string
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$factory Symfony\Component\Form\FormFactoryInterface
$options array

add() 공개 메소드

public add ( $child, $type = null, array $options = [] )
$options array

all() 공개 메소드

public all ( )

count() 공개 메소드

public count ( )

create() 공개 메소드

public create ( $name, $type = null, array $options = [] )
$options array

get() 공개 메소드

public get ( $name )

getForm() 공개 메소드

public getForm ( )

getFormFactory() 공개 메소드

public getFormFactory ( )

getIterator() 공개 메소드

public getIterator ( )

getParent() 공개 메소드

public getParent ( )

getTypes() 공개 메소드

Returns the types used by this builder.
사용 중단: Deprecated since version 2.1, to be removed in 2.3. Use {@link FormConfigInterface::getType()} instead.
public getTypes ( ) : array
리턴 array An array of FormTypeInterface

has() 공개 메소드

public has ( $name )

hasParent() 공개 메소드

public hasParent ( )

remove() 공개 메소드

public remove ( $name )

setParent() 공개 메소드

public setParent ( Symfony\Component\Form\FormBuilderInterface $parent = null )
$parent Symfony\Component\Form\FormBuilderInterface