PHP Class TwbBundle\View\Helper\TwbBundleAlert

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

Méthodes publiques

Méthode Description
__invoke ( string $sAlertMessage = null, string | array $aAlertAttributes = null, boolean $bDismissable = false ) : string | TwbBundleAlert Invoke helper as functor, proxies to {@link render()}.
render ( string $sAlertMessage, string | array $aAlertAttributes = null, boolean $bDismissable = false ) : string Retrieve alert markup

Method Details

__invoke() public méthode

Invoke helper as functor, proxies to {@link render()}.
public __invoke ( string $sAlertMessage = null, string | array $aAlertAttributes = null, boolean $bDismissable = false ) : string | TwbBundleAlert
$sAlertMessage string
$aAlertAttributes string | array : [optionnal] if string, alert class
$bDismissable boolean
Résultat string | TwbBundleAlert

render() public méthode

Retrieve alert markup
public render ( string $sAlertMessage, string | array $aAlertAttributes = null, boolean $bDismissable = false ) : string
$sAlertMessage string
$aAlertAttributes string | array : [optionnal] if string, alert class
$bDismissable boolean
Résultat string