FormInterface

implements Countable, IteratorAggregate, Traversable, Zend\Form\ElementInterface, Zend\Form\ElementPrepareAwareInterface, Zend\Form\FieldsetInterface, Zend\Form\FormFactoryAwareInterface

Known implementers

Omeka\Form\ActivateForm , Omeka\Form\ConfirmForm , Omeka\Form\ForgotPasswordForm , Omeka\Form\InstallationForm , Omeka\Form\LoginForm , Omeka\Form\ModuleStateChangeForm , Omeka\Form\ResourceBatchUpdateForm , Omeka\Form\ResourceForm , Omeka\Form\ResourceTemplateForm , Omeka\Form\ResourceTemplateImportForm , Omeka\Form\ResourceTemplateReviewImportForm , Omeka\Form\SettingForm , Omeka\Form\SiteForm , Omeka\Form\SitePageForm , Omeka\Form\SiteSettingsForm , Omeka\Form\UserForm , Omeka\Form\VocabularyForm , Omeka\Form\VocabularyImportForm , Omeka\Form\VocabularyUpdateForm , Zend\Form\Form

Methods Summary
public
# setData( array|\ArrayAccess $data )
Set data to validate and/or populate elements Typically, also passes data on to the composed input filter.
public
# bind( object $object , int $flags = 17 )
Bind an object to the element Allows populating the object with validated values.
public
# setBindOnValidate( int $bindOnValidateFlag )
Whether or not to bind values to the bound object when validation succeeds
public
# setInputFilter( Zend\InputFilter\InputFilterInterface $inputFilter )
Set input filter
public
# getInputFilter( )
Retrieve input filter
public
# isValid( )
Validate the form Typically, will proxy to the composed input filter.
public
# getData( int $flag = 17 )
Retrieve the validated data By default, retrieves normalized values; pass one of the VALUES_* constants to shape the behavior.
public
# setValidationGroup( )
Set the validation group (set of values to validate) Typically, proxies to the composed input filter
Constants Summary
public int BIND_ON_VALIDATE
# 0
public int BIND_MANUAL
# 1
public int VALIDATE_ALL
# 16
public int VALUES_NORMALIZED
# 17
public int VALUES_RAW
# 18
public int VALUES_AS_ARRAY
# 19