PHP Class TwbBundle\View\Helper\TwbBundleBadge

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

Méthodes publiques

Méthode Description
__invoke ( string $sBadgeMessage = null, array $aBadgeAttributes = null ) : string | TwbBundleBadge Invoke helper as functor, proxies to {@link render()}.
render ( string $sBadgeMessage, array $aBadgeAttributes = null ) : string Retrieve badge markup

Method Details

__invoke() public méthode

Invoke helper as functor, proxies to {@link render()}.
public __invoke ( string $sBadgeMessage = null, array $aBadgeAttributes = null ) : string | TwbBundleBadge
$sBadgeMessage string
$aBadgeAttributes array : [optionnal]
Résultat string | TwbBundleBadge

render() public méthode

Retrieve badge markup
public render ( string $sBadgeMessage, array $aBadgeAttributes = null ) : string
$sBadgeMessage string
$aBadgeAttributes array : [optionnal]
Résultat string