package Default
inherited_from \Zend\Form\FieldsetInterface

 Methods

Bind an object to the element

bind(object $object, integer $flags = \Zend\Form\FormInterface::VALUES_NORMALIZED) : mixed

Allows populating the object with validated values.

Parameters

$object

object

$flags

integer

Returns

mixed

Retrieve the validated data

getData(integer $flag = \Zend\Form\FormInterface::VALUES_NORMALIZED) : array | object

By default, retrieves normalized values; pass one of the VALUES_* constants to shape the behavior.

Parameters

$flag

integer

Returns

arrayobject

Retrieve input filter

getInputFilter() : \Zend\InputFilter\InputFilterInterface

Returns

\Zend\InputFilter\InputFilterInterface

Validate the form

isValid() : boolean

Typically, will proxy to the composed input filter.

Returns

boolean

Whether or not to bind values to the bound object when validation succeeds

setBindOnValidate(integer $bindOnValidateFlag) : void

Parameters

$bindOnValidateFlag

integer

Set data to validate and/or populate elements

setData(array|\ArrayAccess $data) : \Zend\Form\FormInterface

Typically, also passes data on to the composed input filter.

Parameters

$data

array\ArrayAccess

Returns

\Zend\Form\FormInterface

Set input filter

setInputFilter(\Zend\InputFilter\InputFilterInterface $inputFilter) : \Zend\Form\FormInterface

Parameters

$inputFilter

\Zend\InputFilter\InputFilterInterface

Returns

\Zend\Form\FormInterface

Set the validation group (set of values to validate)

setValidationGroup() : \Zend\Form\FormInterface

Typically, proxies to the composed input filter

Returns

\Zend\Form\FormInterface

 Constants

 

BIND_MANUAL

BIND_MANUAL = 1 
 

BIND_ON_VALIDATE

BIND_ON_VALIDATE = 0 
 

VALIDATE_ALL

VALIDATE_ALL = 16 
 

VALUES_AS_ARRAY

VALUES_AS_ARRAY = 19 
 

VALUES_NORMALIZED

VALUES_NORMALIZED = 17 
 

VALUES_RAW

VALUES_RAW = 18