Class Zend_View_Helper_FormErrors

Description

Helper to render errors for a form element

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /View/Helper/FormErrors.php (line 38)

Zend_View_Helper_Abstract
   |
   --Zend_View_Helper_HtmlElement
      |
      --Zend_View_Helper_FormElement
         |
         --Zend_View_Helper_FormErrors
Variable Summary
Method Summary
 string formErrors (string|array $errors, [ $options = null])
 string getElementEnd ()
 string getElementStart ()
Variables
Zend_Form_Element $_element (line 43)
  • access: protected
string $_htmlElementEnd = '</li></ul>' (line 48)
  • var: Element block start/end tags and separator
  • access: protected
string $_htmlElementSeparator = '</li><li>' (line 50)
  • var: Element block start/end tags and separator
  • access: protected
string $_htmlElementStart = '<ul%s><li>' (line 49)
  • var: Element block start/end tags and separator
  • access: protected

Inherited Variables

Inherited from Zend_View_Helper_FormElement

Zend_View_Helper_FormElement::$_translator

Inherited from Zend_View_Helper_HtmlElement

Zend_View_Helper_HtmlElement::$_closingBracket

Inherited from Zend_View_Helper_Abstract

Zend_View_Helper_Abstract::$view
Methods
formErrors (line 60)

Render form errors

  • access: public
string formErrors (string|array $errors, [ $options = null])
  • string|array $errors: Error(s) to render
  • array $options
getElementEnd (line 108)

Retrieve end string for displaying errors

  • access: public
string getElementEnd ()
getElementSeparator (line 130)

Retrieve separator string for displaying errors

  • access: public
string getElementSeparator ()
getElementStart (line 152)

Retrieve start string for displaying errors

  • access: public
string getElementStart ()
setElementEnd (line 97)

Set end string for displaying errors

  • access: public
Zend_View_Helper_FormErrors setElementEnd (string $string)
  • string $string
setElementSeparator (line 119)

Set separator string for displaying errors

  • access: public
Zend_View_Helper_FormErrors setElementSeparator (string $string)
  • string $string
setElementStart (line 141)

Set start string for displaying errors

  • access: public
Zend_View_Helper_FormErrors setElementStart (string $string)
  • string $string

Inherited Methods

Inherited From Zend_View_Helper_FormElement

 Zend_View_Helper_FormElement::getTranslator()
 Zend_View_Helper_FormElement::setTranslator()
 Zend_View_Helper_FormElement::_getInfo()
 Zend_View_Helper_FormElement::_hidden()

Inherited From Zend_View_Helper_HtmlElement

 Zend_View_Helper_HtmlElement::getClosingBracket()
 Zend_View_Helper_HtmlElement::_htmlAttribs()
 Zend_View_Helper_HtmlElement::_isXhtml()
 Zend_View_Helper_HtmlElement::_normalizeId()

Inherited From Zend_View_Helper_Abstract

 Zend_View_Helper_Abstract::direct()
 Zend_View_Helper_Abstract::setView()
Class Constants

Documentation generated on Mon, 21 Jun 2010 15:24:41 -0400 by phpDocumentor 1.4.3