929. Class

929.1. Zend\Form\View\Helper\FormElementErrors

929.1.1. Methods

929.1.1.1. setMessageCloseString

setMessageCloseString()

Set the string used to close message representation

Parameters:string
Return type:FormElementErrors

929.1.1.2. getMessageCloseString

getMessageCloseString()

Get the string used to close message representation

Return type:string

929.1.1.3. setMessageOpenFormat

setMessageOpenFormat()

Set the formatted string used to open message representation

Parameters:string
Return type:FormElementErrors

929.1.1.4. getMessageOpenFormat

getMessageOpenFormat()

Get the formatted string used to open message representation

Return type:string

929.1.1.5. setMessageSeparatorString

setMessageSeparatorString()

Set the string used to separate messages

Parameters:string
Return type:FormElementErrors

929.1.1.6. getMessageSeparatorString

getMessageSeparatorString()

Get the string used to separate messages

Return type:string

929.1.1.7. setAttributes

setAttributes()

Set the attributes that will go on the message open format

Parameters:array – key value pairs of attributes
Return type:FormElementErrors

929.1.1.8. getAttributes

getAttributes()

Get the attributes that will go on the message open format

Return type:array

929.1.1.9. render

render()

Render validation errors for the provided $element

Parameters:
  • ElementInterface
  • array
Throws ExceptionDomainException:
 
Return type:

string

929.1.1.10. __invoke

__invoke()

Invoke helper as functor

Proxies to {@link render()} if an element is passed.

Parameters:
  • ElementInterface
  • array
Return type:

string|FormElementErrors