@copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
Set options for an element. Accepted options are: - label: label to associate with the element - label_attributes: attributes to use when the label is rendered - value_options: list of values and labels for the select options _ empty_option: should an empty option be prepended to the options ?
| Parameters: | array|Traversable – |
|---|---|
| Return type: | Select|ElementInterface |
| Throws : | InvalidArgumentException |
Set a single element attribute
| Parameters: |
|
|---|---|
| Return type: | Select|ElementInterface |
Set the string for an empty option (can be empty string). If set to null, no option will be added
| Parameters: | string|null – |
|---|---|
| Return type: | Select |
Return the string for the empty option (null if none)
| Return type: | string|null |
|---|
Provide default input rules for this element
Attaches the captcha as a validator.
| Return type: | array |
|---|