Zend\Form\LabelAwareInterface
Synopsis
interface LabelAwareInterface
{
- // methods
- public ElementInterface setLabel()
- public string getLabel()
- public self setLabelAttributes()
- public array getLabelAttributes()
- public self setLabelOptions()
- public array getLabelOptions()
- public Element|ElementInterface setLabelOption()
- public mixed|null getLabelOption()
- public ElementInterface removeLabelOption()
- public bool hasLabelOption()
- public ElementInterface removeLabelOptions()
- public Element|ElementInterface clearLabelOptions()
Methods
public
- clearLabelOptions() — Clear all label options
- getLabel() — Retrieve the label (if any) used for this element
- getLabelAttributes() — Get the attributes to use with the label
- getLabelOption() — Retrieve a single label option
- getLabelOptions() — Get label specific options
- hasLabelOption() — Does the element has a specific label option ?
- removeLabelOption() — Remove a single label option
- removeLabelOptions() — Remove many attributes at once
- setLabel() — Set the label (if any) used for this element
- setLabelAttributes() — Set the attributes to use with the label
- setLabelOption() — Set a single label optionn
- setLabelOptions() — Set many label options at once