Zend Framework
1.12
|
Public Member Functions | |
getSeparator () | |
Retrieve separator. | |
setSeparator ($separator) | |
Set separator. | |
addMultiOption ($option, $value= '') | |
Add an option. | |
addMultiOptions (array $options) | |
Add many options at once. | |
setMultiOptions (array $options) | |
Set all options at once (overwrites) | |
getMultiOption ($option) | |
Retrieve single multi option. | |
getMultiOptions () | |
Retrieve options. | |
removeMultiOption ($option) | |
Remove a single multi option. | |
clearMultiOptions () | |
Clear all options. | |
setRegisterInArrayValidator ($flag) | |
Set flag indicating whether or not to auto-register inArray validator. | |
registerInArrayValidator () | |
Get status of auto-register inArray validator flag. | |
isValid ($value, $context=null) | |
Is the value provided valid? | |
Public Attributes | |
$options = array() | |
Protected Member Functions | |
_getMultiOptions () | |
Retrieve options array. | |
_translateOption ($option, $value) | |
Translate an option. | |
_translateValue ($value) | |
Translate a multi option value. | |
Protected Attributes | |
$_registerInArrayValidator = true | |
$_separator = '<br />' | |
$_translated = array() | |
Additional Inherited Members | |
![]() | |
static | resolveElementId (Zend_Form_Decorator_Interface $decorator) |
Used to resolve and return an element ID. | |
|
protected |
Retrieve options array.
|
protected |
Translate an option.
string | $option | |
string | $value |
|
protected |
Translate a multi option value.
string | $value |
addMultiOption | ( | $option, | |
$value = '' |
|||
) |
addMultiOptions | ( | array | $options | ) |
clearMultiOptions | ( | ) |
Clear all options.
getMultiOption | ( | $option | ) |
Retrieve single multi option.
string | $option |
getMultiOptions | ( | ) |
Retrieve options.
getSeparator | ( | ) |
Retrieve separator.
isValid | ( | $value, | |
$context = null |
|||
) |
Is the value provided valid?
Autoregisters InArray validator if necessary.
string | $value | |
mixed | $context |
registerInArrayValidator | ( | ) |
Get status of auto-register inArray validator flag.
removeMultiOption | ( | $option | ) |
Remove a single multi option.
string | $option |
setMultiOptions | ( | array | $options | ) |
setRegisterInArrayValidator | ( | $flag | ) |
Set flag indicating whether or not to auto-register inArray validator.
bool | $flag |
setSeparator | ( | $separator | ) |
Set separator.
mixed | $separator |
|
protected |
|
protected |
|
protected |
$options = array() |