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
Displays all form errors in one view.
Any options passed will be used as HTML attributes of the ul tag for the errors.
array $_defaults = 'array'
Default values for markup options
$_ignoreSubForms = ''
$_markupElementLabelEnd = ''
$_markupElementLabelStart = ''
$_markupListEnd = ''
$_markupListItemEnd = ''
$_markupListItemStart = ''
$_markupListStart = ''
$_onlyCustomFormErrors = ''
$_showCustomFormErrors = ''
_recurseForm(
Zend_Form $form, Zend_View_Interface $view
)
:
string
Recurse through a form object, rendering errors
getMarkupElementLabelEnd(
)
:
string
Retrieve markupElementLabelEnd
getMarkupElementLabelStart(
)
:
string
Retrieve markupElementLabelStart
getMarkupListEnd(
)
:
string
Retrieve markupListEnd
getMarkupListItemEnd(
)
:
string
Retrieve markupListItemEnd
getMarkupListItemStart(
)
:
string
Retrieve markupListItemStart
getMarkupListStart(
)
:
string
Retrieve markupListStart
getOnlyCustomFormErrors(
)
:
bool
Get onlyCustomFormErrors
getShowCustomFormErrors(
)
:
bool
Get showCustomFormErrors
ignoreSubForms(
)
:
bool
Retrieve ignoreSubForms
initOptions(
)
:
void
Initialize options
render(
string $content
)
:
string
Render errors
renderLabel(
Zend_Form_Element $element, Zend_View_Interface $view
)
:
string
Render element label
setIgnoreSubForms(
bool $ignoreSubForms
)
:
Zend_Form_Decorator_FormErrors
Set ignoreSubForms
setMarkupElementLabelEnd(
string $markupElementLabelEnd
)
:
Zend_Form_Decorator_FormErrors
Set markupElementLabelEnd
setMarkupElementLabelStart(
string $markupElementLabelStart
)
:
Zend_Form_Decorator_FormErrors
Set markupElementLabelStart
setMarkupListEnd(
string $markupListEnd
)
:
Zend_Form_Decorator_FormErrors
Set markupListEnd
setMarkupListItemEnd(
string $markupListItemEnd
)
:
Zend_Form_Decorator_FormErrors
Set markupListItemEnd
setMarkupListItemStart(
string $markupListItemStart
)
:
Zend_Form_Decorator_FormErrors
Set markupListItemStart
setMarkupListStart(
string $markupListStart
)
:
Zend_Form_Decorator_FormErrors
Set markupListStart
setOnlyCustomFormErrors(
bool $onlyCustomFormErrors
)
:
Zend_Form_Decorator_FormErrors
Set onlyCustomFormErrors, whether to display elements messages in addition to custom form messages.
setShowCustomFormErrors(
bool $showCustomFormErrors
)
:
Zend_Form_Decorator_FormErrors
Set showCustomFormErrors