Public Member Functions | Protected Attributes

Zend_View_Helper_FormErrors Class Reference

Inheritance diagram for Zend_View_Helper_FormErrors:
Zend_View_Helper_FormElement Zend_View_Helper_HtmlElement Zend_View_Helper_Abstract Zend_View_Helper_Interface

Public Member Functions

 formErrors ($errors, array $options=null)
 setElementEnd ($string)
 getElementEnd ()
 setElementSeparator ($string)
 getElementSeparator ()
 setElementStart ($string)
 getElementStart ()

Protected Attributes

 $_element
 $_htmlElementEnd = '</li></ul>'
 $_htmlElementStart = '<ul%s><li>'
 $_htmlElementSeparator = '</li><li>'

Detailed Description

Definition at line 38 of file FormErrors.php.


Member Function Documentation

formErrors ( errors,
array $  options = null 
)

#@- Render form errors

Parameters:
string | array$errorsError(s) to render
array$options
Returns:
string

Definition at line 60 of file FormErrors.php.

getElementEnd (  )

Retrieve end string for displaying errors

Returns:
string

Definition at line 108 of file FormErrors.php.

getElementSeparator (  )

Retrieve separator string for displaying errors

Returns:
string

Definition at line 130 of file FormErrors.php.

getElementStart (  )

Retrieve start string for displaying errors

Returns:
string

Definition at line 152 of file FormErrors.php.

setElementEnd ( string )

Set end string for displaying errors

Parameters:
string$string
Returns:
Zend_View_Helper_FormErrors

Definition at line 97 of file FormErrors.php.

setElementSeparator ( string )

Set separator string for displaying errors

Parameters:
string$string
Returns:
Zend_View_Helper_FormErrors

Definition at line 119 of file FormErrors.php.

setElementStart ( string )

Set start string for displaying errors

Parameters:
string$string
Returns:
Zend_View_Helper_FormErrors

Definition at line 141 of file FormErrors.php.


The documentation for this class was generated from the following file: