PHP Class TwbBundle\View\Helper\TwbBundleAlert

Inheritance: extends Zend\Form\View\Helper\AbstractHelper
ファイルを表示 Open project: neilime/zf2-twb-bundle

Public Methods

Method 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 method

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
return string | TwbBundleAlert

render() public method

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
return string