API Documentation

View/Helper/FormErrors.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_View
subpackage
Helper
version
$Id: FormErrors.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_View_Helper_FormErrors

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_View_Helper_FormErrors

Extends from
Zend_View_Helper_FormElement
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_View
subpackage
Helper
Properties
$_element
$_htmlElementEnd
$_htmlElementStart
$_htmlElementSeparator
Methods
formErrors
setElementEnd
getElementEnd
setElementSeparator
getElementSeparator
setElementStart
getElementStart

Description

Helper to render errors for a form element

Properties

$_element

Zend_Form_Element $_element = ''

Details

$_element
Zend_Form_Element
visibility
protected
default
final
false
static
false

$_htmlElementEnd

 $_htmlElementEnd = '</li></ul>'

Details

visibility
protected
default
</li></ul>
final
false
static
false

$_htmlElementSeparator

 $_htmlElementSeparator = '</li><li>'

Details

visibility
protected
default
</li><li>
final
false
static
false

$_htmlElementStart

 $_htmlElementStart = '<ul%s><li>'

Details

visibility
protected
default
<ul%s><li>
final
false
static
false

Methods

formErrors

formErrors( string|array $errors, array $options = null ) : string

Render form errors

Arguments
$errors
stringarray
Error(s) to render
$options
array
Output
string
Details
visibility
public
final
false
static
false

getElementEnd

getElementEnd( ) : string

Retrieve end string for displaying errors

Output
string
Details
visibility
public
final
false
static
false

getElementSeparator

getElementSeparator( ) : string

Retrieve separator string for displaying errors

Output
string
Details
visibility
public
final
false
static
false

getElementStart

getElementStart( ) : string

Retrieve start string for displaying errors

Output
string
Details
visibility
public
final
false
static
false

setElementEnd

setElementEnd( string $string ) : Zend_View_Helper_FormErrors

Set end string for displaying errors

Arguments
$string
string
Details
visibility
public
final
false
static
false

setElementSeparator

setElementSeparator( string $string ) : Zend_View_Helper_FormErrors

Set separator string for displaying errors

Arguments
$string
string
Details
visibility
public
final
false
static
false

setElementStart

setElementStart( string $string ) : Zend_View_Helper_FormErrors

Set start string for displaying errors

Arguments
$string
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.