PHP Class Gregwar\Formidable\Fields\Multiple

Author: GrĂ©goire Passault ([email protected])
Inheritance: extends Field
Show file Open project: gregwar/formidable

Protected Properties

Property Type Description
$forms Internal forms
$maxEntries
$minEntries Entries constraints
$parserData Parser data of the internal form

Public Methods

Method Description
__sleep ( )
check ( )
checkForms ( )
getHtml ( )
getMappingValue ( )
getValue ( )
needJs ( )
push ( $name, $value = null )
setParserData ( Gregwar\Formidable\ParserData $parserData )
setValue ( $value, $default = false )
setValues ( $values, array $files )

Protected Methods

Method Description
getForm ( $index )
getHtmlOfForm ( Form $form, $index )

Method Details

__sleep() public method

public __sleep ( )

check() public method

public check ( )

checkForms() public method

public checkForms ( )

getForm() protected method

protected getForm ( $index )

getHtml() public method

public getHtml ( )

getHtmlOfForm() protected method

protected getHtmlOfForm ( Form $form, $index )
$form Gregwar\Formidable\Form

getMappingValue() public method

public getMappingValue ( )

getValue() public method

public getValue ( )

needJs() public method

public needJs ( )

push() public method

public push ( $name, $value = null )

setParserData() public method

public setParserData ( Gregwar\Formidable\ParserData $parserData )
$parserData Gregwar\Formidable\ParserData

setValue() public method

public setValue ( $value, $default = false )

setValues() public method

public setValues ( $values, array $files )
$files array

Property Details

$forms protected property

Internal forms
protected $forms

$maxEntries protected property

protected $maxEntries

$minEntries protected property

Entries constraints
protected $minEntries

$parserData protected property

Parser data of the internal form
protected $parserData