PHP 클래스 TwbBundle\View\Helper\TwbBundleAlert

상속: extends Zend\Form\View\Helper\AbstractHelper
파일 보기 프로젝트 열기: neilime/zf2-twb-bundle

공개 메소드들

메소드 설명
__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

메소드 상세

__invoke() 공개 메소드

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
리턴 string | TwbBundleAlert

render() 공개 메소드

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
리턴 string