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