Zend Framework
1.12
|
Public Member Functions | |
formErrors ($errors, array $options=null) | |
#@- | |
setElementEnd ($string) | |
Set end string for displaying errors. | |
getElementEnd () | |
Retrieve end string for displaying errors. | |
setElementSeparator ($string) | |
Set separator string for displaying errors. | |
getElementSeparator () | |
Retrieve separator string for displaying errors. | |
setElementStart ($string) | |
Set start string for displaying errors. | |
getElementStart () | |
Retrieve start string for displaying errors. | |
![]() | |
getTranslator () | |
Get translator. | |
setTranslator ($translator=null) | |
Set translator. | |
![]() | |
getClosingBracket () | |
Get the tag closing bracket. | |
![]() | |
setView (Zend_View_Interface $view) | |
Set the View object. | |
direct () | |
Strategy pattern: currently unutilized. | |
Protected Attributes | |
$_element | |
$_htmlElementEnd = '</li></ul>' | |
$_htmlElementStart = '<ul%s><li>' | |
$_htmlElementSeparator = '</li><li>' | |
![]() | |
$_translator | |
![]() | |
$_closingBracket = null | |
Additional Inherited Members | |
![]() | |
const | EOL = "\n" |
EOL character. | |
![]() | |
_getInfo ($name, $value=null, $attribs=null, $options=null, $listsep=null) | |
Converts parameter arguments to an element info array. | |
_hidden ($name, $value=null, $attribs=null) | |
Creates a hidden element. | |
formErrors | ( | $errors, | |
array | $options = null |
||
) |
#@-
Render form errors
string | array | $errors | Error(s) to render |
array | $options |
getElementEnd | ( | ) |
Retrieve end string for displaying errors.
getElementSeparator | ( | ) |
Retrieve separator string for displaying errors.
getElementStart | ( | ) |
Retrieve start string for displaying errors.
setElementEnd | ( | $string | ) |
setElementSeparator | ( | $string | ) |
Set separator string for displaying errors.
string | $string |
setElementStart | ( | $string | ) |
|
protected |
|
protected |
|
protected |
|
protected |