944. Class

944.1. Zend\Form\View\Helper\FormRow

944.1.1. Methods

944.1.1.1. render

render()

Utility form helper that renders a label (if it exists), an element and errors

Parameters:ElementInterface
Return type:string
Throws :ZendFormExceptionDomainException

944.1.1.2. __invoke

__invoke()

Invoke helper as functor

Proxies to {@link render()}.

Parameters:
  • null|ElementInterface
  • null|string
  • bool
Return type:

string|FormRow

944.1.1.3. setLabelPosition

setLabelPosition()

Set the label position

Parameters:$labelPosition
Return type:FormRow
Throws :ZendFormExceptionInvalidArgumentException

944.1.1.4. getLabelPosition

getLabelPosition()

Get the label position

Return type:string

944.1.1.5. setRenderErrors

setRenderErrors()

Are the errors rendered by this helper ?

Parameters:bool
Return type:FormRow

944.1.1.6. getRenderErrors

getRenderErrors()

@return bool

944.1.1.7. setLabelAttributes

setLabelAttributes()

Set the attributes for the row label

Parameters:array
Return type:FormRow

944.1.1.8. getLabelAttributes

getLabelAttributes()

Get the attributes for the row label

Return type:array

944.1.1.9. setInputErrorClass

setInputErrorClass()

Set the class that is added to element that have errors

Parameters:string
Return type:FormRow

944.1.1.10. getInputErrorClass

getInputErrorClass()

Get the class that is added to element that have errors

Return type:string

944.1.1.11. getLabelHelper

getLabelHelper()

Retrieve the FormLabel helper

Return type:FormLabel

944.1.1.12. getElementHelper

getElementHelper()

Retrieve the FormElement helper

Return type:FormElement

944.1.1.13. getElementErrorsHelper

getElementErrorsHelper()

Retrieve the FormElementErrors helper

Return type:FormElementErrors

944.1.2. Constants

944.1.2.1. LABEL_APPEND

944.1.2.2. LABEL_PREPEND