API Documentation

Form/Decorator/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_Form
subpackage
Decorator
Classes
Zend_Form_Decorator_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_Form_Decorator_FormErrors

Extends from
Zend_Form_Decorator_Abstract
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_Form
subpackage
Decorator
version
$Id: FormErrors.php 22317 2010-05-29 10:13:31Z alab $
Properties
$_defaults
$_ignoreSubForms
$_showCustomFormErrors
$_onlyCustomFormErrors
$_markupElementLabelEnd
$_markupElementLabelStart
$_markupListEnd
$_markupListItemEnd
$_markupListItemStart
$_markupListStart
Methods
render
initOptions
getMarkupElementLabelStart
setMarkupElementLabelStart
getMarkupElementLabelEnd
setMarkupElementLabelEnd
getMarkupListStart
setMarkupListStart
getMarkupListEnd
setMarkupListEnd
getMarkupListItemStart
setMarkupListItemStart
getMarkupListItemEnd
setMarkupListItemEnd
ignoreSubForms
setIgnoreSubForms
getShowCustomFormErrors
setShowCustomFormErrors
getOnlyCustomFormErrors
setOnlyCustomFormErrors
renderLabel
_recurseForm

Description

Zend_Form_Decorator_FormErrors

Displays all form errors in one view.

Any options passed will be used as HTML attributes of the ul tag for the errors.

Properties

$_defaults

array $_defaults = 'array'

Default values for markup options

Details

$_defaults
array
visibility
protected
default
array
final
false
static
false

$_ignoreSubForms

 $_ignoreSubForms = ''

Details

visibility
protected
default
final
false
static
false

$_markupElementLabelEnd

 $_markupElementLabelEnd = ''

Details

visibility
protected
default
final
false
static
false

$_markupElementLabelStart

 $_markupElementLabelStart = ''

Details

visibility
protected
default
final
false
static
false

$_markupListEnd

 $_markupListEnd = ''

Details

visibility
protected
default
final
false
static
false

$_markupListItemEnd

 $_markupListItemEnd = ''

Details

visibility
protected
default
final
false
static
false

$_markupListItemStart

 $_markupListItemStart = ''

Details

visibility
protected
default
final
false
static
false

$_markupListStart

 $_markupListStart = ''

Details

visibility
protected
default
final
false
static
false

$_onlyCustomFormErrors

 $_onlyCustomFormErrors = ''

Details

visibility
protected
default
final
false
static
false

$_showCustomFormErrors

 $_showCustomFormErrors = ''

Details

visibility
protected
default
final
false
static
false

Methods

_recurseForm

_recurseForm( Zend_Form $form, Zend_View_Interface $view ) : string

Recurse through a form object, rendering errors

Arguments
$form
Zend_Form
$view
Zend_View_Interface
Output
string
Details
visibility
protected
final
false
static
false

getMarkupElementLabelEnd

getMarkupElementLabelEnd( ) : string

Retrieve markupElementLabelEnd

Output
string
Details
visibility
public
final
false
static
false

getMarkupElementLabelStart

getMarkupElementLabelStart( ) : string

Retrieve markupElementLabelStart

Output
string
Details
visibility
public
final
false
static
false

getMarkupListEnd

getMarkupListEnd( ) : string

Retrieve markupListEnd

Output
string
Details
visibility
public
final
false
static
false

getMarkupListItemEnd

getMarkupListItemEnd( ) : string

Retrieve markupListItemEnd

Output
string
Details
visibility
public
final
false
static
false

getMarkupListItemStart

getMarkupListItemStart( ) : string

Retrieve markupListItemStart

Output
string
Details
visibility
public
final
false
static
false

getMarkupListStart

getMarkupListStart( ) : string

Retrieve markupListStart

Output
string
Details
visibility
public
final
false
static
false

getOnlyCustomFormErrors

getOnlyCustomFormErrors( ) : bool

Get onlyCustomFormErrors

Output
bool
Details
visibility
public
final
false
static
false

getShowCustomFormErrors

getShowCustomFormErrors( ) : bool

Get showCustomFormErrors

Output
bool
Details
visibility
public
final
false
static
false

ignoreSubForms

ignoreSubForms( ) : bool

Retrieve ignoreSubForms

Output
bool
Details
visibility
public
final
false
static
false

initOptions

initOptions( ) : void

Initialize options

Details
visibility
public
final
false
static
false

render

render( string $content ) : string

Render errors

Arguments
$content
string
Output
string
Details
visibility
public
final
false
static
false

renderLabel

renderLabel( Zend_Form_Element $element, Zend_View_Interface $view ) : string

Render element label

Arguments
$element
Zend_Form_Element
$view
Zend_View_Interface
Output
string
Details
visibility
public
final
false
static
false

setIgnoreSubForms

setIgnoreSubForms( bool $ignoreSubForms ) : Zend_Form_Decorator_FormErrors

Set ignoreSubForms

Arguments
$ignoreSubForms
bool
Details
visibility
public
final
false
static
false

setMarkupElementLabelEnd

setMarkupElementLabelEnd( string $markupElementLabelEnd ) : Zend_Form_Decorator_FormErrors

Set markupElementLabelEnd

Arguments
$markupElementLabelEnd
string
Details
visibility
public
final
false
static
false

setMarkupElementLabelStart

setMarkupElementLabelStart( string $markupElementLabelStart ) : Zend_Form_Decorator_FormErrors

Set markupElementLabelStart

Arguments
$markupElementLabelStart
string
Details
visibility
public
final
false
static
false

setMarkupListEnd

setMarkupListEnd( string $markupListEnd ) : Zend_Form_Decorator_FormErrors

Set markupListEnd

Arguments
$markupListEnd
string
Details
visibility
public
final
false
static
false

setMarkupListItemEnd

setMarkupListItemEnd( string $markupListItemEnd ) : Zend_Form_Decorator_FormErrors

Set markupListItemEnd

Arguments
$markupListItemEnd
string
Details
visibility
public
final
false
static
false

setMarkupListItemStart

setMarkupListItemStart( string $markupListItemStart ) : Zend_Form_Decorator_FormErrors

Set markupListItemStart

Arguments
$markupListItemStart
string
Details
visibility
public
final
false
static
false

setMarkupListStart

setMarkupListStart( string $markupListStart ) : Zend_Form_Decorator_FormErrors

Set markupListStart

Arguments
$markupListStart
string
Details
visibility
public
final
false
static
false

setOnlyCustomFormErrors

setOnlyCustomFormErrors( bool $onlyCustomFormErrors ) : Zend_Form_Decorator_FormErrors

Set onlyCustomFormErrors, whether to display elements messages in addition to custom form messages.

Arguments
$onlyCustomFormErrors
bool
Details
visibility
public
final
false
static
false

setShowCustomFormErrors

setShowCustomFormErrors( bool $showCustomFormErrors ) : Zend_Form_Decorator_FormErrors

Set showCustomFormErrors

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