LabelAwareInterface

Known implementers

Omeka\Form\ActivateForm , Omeka\Form\ConfirmForm , Omeka\Form\Element\AbstractGroupByOwnerSelect , Omeka\Form\Element\AbstractVocabularyMemberSelect , Omeka\Form\Element\Asset , Omeka\Form\Element\Ckeditor , Omeka\Form\Element\CkeditorInline , Omeka\Form\Element\ColorPicker , Omeka\Form\Element\HtmlTextarea , Omeka\Form\Element\ItemSetSelect , Omeka\Form\Element\PropertySelect , Omeka\Form\Element\Recaptcha , Omeka\Form\Element\ResourceClassSelect , Omeka\Form\Element\ResourceSelect , Omeka\Form\Element\RestoreTextarea , Omeka\Form\Element\SiteSelect , 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\Element , Zend\Form\Element\Select , Zend\Form\Element\Text , Zend\Form\Element\Textarea , Zend\Form\Fieldset , Zend\Form\Form

Methods Summary
public
# setLabel( $label )
Set the label (if any) used for this element
public
# getLabel( )
Retrieve the label (if any) used for this element
public
# setLabelAttributes( array $labelAttributes )
Set the attributes to use with the label
public
# getLabelAttributes( )
Get the attributes to use with the label
public
# setLabelOptions( array|\Traversable $arrayOrTraversable )
Set many label options at once Implementation will decide if this will overwrite or merge.
public
# getLabelOptions( )
Get label specific options
public
# setLabelOption( string $key , mixed $value )
Set a single label optionn
public
# getLabelOption( $key )
Retrieve a single label option
public
# removeLabelOption( string $key )
Remove a single label option
public
# hasLabelOption( string $key )
Does the element has a specific label option ?
public
# removeLabelOptions( array $keys )
Remove many attributes at once
public
# clearLabelOptions( )
Clear all label options