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.
Helper to render errors for a form element

formErrors(
string|array $errors, array $options
=
null
)
:
string
Render form errors
Name | Type | Description |
---|---|---|
$errors | string|array | Error(s) to render |
$options | array |
Type | Description |
---|---|
string |

getElementSeparator(
)
:
string
Retrieve separator string for displaying errors
Type | Description |
---|---|
string |

getElementStart(
)
:
string
Retrieve start string for displaying errors
Type | Description |
---|---|
string |

setElementEnd(
string $string
)
:
\Zend_View_Helper_FormErrors
Set end string for displaying errors
Name | Type | Description |
---|---|---|
$string | string |
Type | Description |
---|---|
\Zend_View_Helper_FormErrors |

setElementSeparator(
string $string
)
:
\Zend_View_Helper_FormErrors
Set separator string for displaying errors
Name | Type | Description |
---|---|---|
$string | string |
Type | Description |
---|---|
\Zend_View_Helper_FormErrors |

setElementStart(
string $string
)
:
\Zend_View_Helper_FormErrors
Set start string for displaying errors
Name | Type | Description |
---|---|---|
$string | string |
Type | Description |
---|---|
\Zend_View_Helper_FormErrors |