PHP Class TwbBundle\View\Helper\TwbBundleLabel

Inheritance: extends Zend\Form\View\Helper\AbstractHelper
Afficher le fichier Open project: neilime/zf2-twb-bundle

Protected Properties

Свойство Type Description
$tagName string
$validTagAttributes array

Méthodes publiques

Méthode Description
__invoke ( string $sLabelMessage = null, string | array $aLabelAttributes = 'label-default' ) : string | TwbBundleAlert Invoke helper as functor, proxies to {@link render()}.
render ( string $sLabelMessage, string | array $aLabelAttributes = 'label-default' ) : string Retrieve label markup

Method Details

__invoke() public méthode

Invoke helper as functor, proxies to {@link render()}.
public __invoke ( string $sLabelMessage = null, string | array $aLabelAttributes = 'label-default' ) : string | TwbBundleAlert
$sLabelMessage string
$aLabelAttributes string | array : [optionnal] if string, label class
Résultat string | TwbBundleAlert

render() public méthode

Retrieve label markup
public render ( string $sLabelMessage, string | array $aLabelAttributes = 'label-default' ) : string
$sLabelMessage string
$aLabelAttributes string | array : [optionnal] if string, label class
Résultat string

Property Details

$tagName protected_oe property

protected string $tagName
Résultat string

$validTagAttributes protected_oe property

protected array $validTagAttributes
Résultat array