FieldsetInterface

implements Countable, IteratorAggregate, Traversable, Zend\Form\ElementInterface, Zend\Form\ElementPrepareAwareInterface, 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\Fieldset , Zend\Form\Form , Zend\Form\FormInterface

Methods Summary
public
# add( array|\Traversable|\ElementInterface $elementOrFieldset , array $flags = array ( ) )
Add an element or fieldset $flags could contain metadata such as the alias under which to register the element or fieldset, order in which to prioritize it, etc.
public
# has( string $elementOrFieldset )
Does the fieldset have an element/fieldset by the given name?
public
# get( string $elementOrFieldset )
Retrieve a named element or fieldset
public
# remove( string $elementOrFieldset )
Remove a named element or fieldset
public
# setPriority( string $elementOrFieldset , int $priority )
Set/change the priority of an element or fieldset
public
# getElements( )
Retrieve all attached elements Storage is an implementation detail of the concrete class.
public
# getFieldsets( )
Retrieve all attached fieldsets Storage is an implementation detail of the concrete class.
public
# populateValues( array|\Traversable $data )
Recursively populate value attributes of elements
public
# setObject( $object )
Set the object used by the hydrator
public
# getObject( )
Get the object used by the hydrator
public
# allowObjectBinding( $object )
Checks if the object can be set in this fieldset
public
# setHydrator( Zend\Hydrator\HydratorInterface $hydrator )
Set the hydrator to use when binding an object to the element
public
# getHydrator( )
Get the hydrator used when binding an object to the element
public
# bindValues( array $values = array ( ) )
Bind values to the bound object
public
# allowValueBinding( )
Checks if this fieldset can bind data