PHP Class TwbBundle\Form\View\Helper\TwbBundleFormCheckbox

Inheritance: extends Zend\Form\View\Helper\FormCheckbox
Datei anzeigen Open project: neilime/zf2-twb-bundle Class Usage Examples

Protected Properties

Property Type Description
$labelHelper Zend\Form\View\Helper\FormLabel Form label helper instance

Public Methods

Method Description
getLabelContent ( Zend\Form\ElementInterface $oElement ) : string
getLabelPosition ( Zend\Form\Element\Checkbox $oElement ) : string Get the label position
render ( Zend\Form\ElementInterface $oElement ) : string

Protected Methods

Method Description
getLabelHelper ( ) : Zend\Form\View\Helper\FormLabel Retrieve the FormLabel helper

Method Details

getLabelContent() public method

public getLabelContent ( Zend\Form\ElementInterface $oElement ) : string
$oElement Zend\Form\ElementInterface
return string

getLabelHelper() protected method

Retrieve the FormLabel helper
protected getLabelHelper ( ) : Zend\Form\View\Helper\FormLabel
return Zend\Form\View\Helper\FormLabel

getLabelPosition() public method

Get the label position
public getLabelPosition ( Zend\Form\Element\Checkbox $oElement ) : string
$oElement Zend\Form\Element\Checkbox
return string

render() public method

See also: FormCheckbox::render()
public render ( Zend\Form\ElementInterface $oElement ) : string
$oElement Zend\Form\ElementInterface
return string

Property Details

$labelHelper protected_oe property

Form label helper instance
protected FormLabel,Zend\Form\View\Helper $labelHelper
return Zend\Form\View\Helper\FormLabel