935. Class

935.1. Zend\Form\View\Helper\FormLabel

935.1.1. Methods

935.1.1.1. openTag

openTag()

Generate an opening label tag

Parameters:null|array|ElementInterface
Throws ExceptionInvalidArgumentException:
 
Throws ExceptionDomainException:
 
Return type:string

935.1.1.2. closeTag

closeTag()

Return a closing label tag

Return type:string

935.1.1.3. __invoke

__invoke()

Generate a form label, optionally with content

Always generates a “for” statement, as we cannot assume the form input will be provided in the $labelContent.

Parameters:
  • ElementInterface
  • null|string
  • string
Throws ExceptionDomainException:
 
Return type:

string|FormLabel

935.1.2. Constants

935.1.2.1. APPEND

935.1.2.2. PREPEND

Project Versions

Table Of Contents

Previous topic

934. Class

Next topic

936. Class

This Page