Public Member Functions | |
getTranslator () | |
setTranslator ($translator=null) | |
Protected Member Functions | |
_getInfo ($name, $value=null, $attribs=null, $options=null, $listsep=null) | |
_hidden ($name, $value=null, $attribs=null) | |
Protected Attributes | |
$_translator |
Definition at line 37 of file FormElement.php.
_getInfo | ( | $ | name, |
$ | value = null , |
||
$ | attribs = null , |
||
$ | options = null , |
||
$ | listsep = null |
||
) | [protected] |
Converts parameter arguments to an element info array.
E.g, formExample($name, $value, $attribs, $options, $listsep) is the same thing as formExample(array('name' => ...)).
Note that you cannot pass a 'disable' param; you need to pass it as an 'attribs' key.
protected
Definition at line 89 of file FormElement.php.
_hidden | ( | $ | name, |
$ | value = null , |
||
$ | attribs = null |
||
) | [protected] |
Creates a hidden element.
We have this as a common method because other elements often need hidden elements for their operation.
protected
$name | The element name. |
$value | The element value. |
$attribs | Attributes for the element. |
Definition at line 195 of file FormElement.php.
getTranslator | ( | ) |
setTranslator | ( | $ | translator = null ) |
Set translator
$translator|null | Zend_Translate |
Definition at line 60 of file FormElement.php.