PHP Class TwbBundle\Form\View\Helper\TwbBundleFormCheckbox

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

Protected Properties

Свойство Type Description
$labelHelper Zend\Form\View\Helper\FormLabel Form label helper instance

Méthodes publiques

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

Méthodes protégées

Méthode Description
getLabelHelper ( ) : Zend\Form\View\Helper\FormLabel Retrieve the FormLabel helper

Method Details

getLabelContent() public méthode

public getLabelContent ( Zend\Form\ElementInterface $oElement ) : string
$oElement Zend\Form\ElementInterface
Résultat string

getLabelHelper() protected méthode

Retrieve the FormLabel helper
protected getLabelHelper ( ) : Zend\Form\View\Helper\FormLabel
Résultat Zend\Form\View\Helper\FormLabel

getLabelPosition() public méthode

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

render() public méthode

See also: FormCheckbox::render()
public render ( Zend\Form\ElementInterface $oElement ) : string
$oElement Zend\Form\ElementInterface
Résultat string

Property Details

$labelHelper protected_oe property

Form label helper instance
protected FormLabel,Zend\Form\View\Helper $labelHelper
Résultat Zend\Form\View\Helper\FormLabel