PHP 클래스 TwbBundle\View\Helper\TwbBundleLabel

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

보호된 프로퍼티들

프로퍼티 타입 설명
$tagName string
$validTagAttributes array

공개 메소드들

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

메소드 상세

__invoke() 공개 메소드

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

render() 공개 메소드

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

프로퍼티 상세

$tagName 보호되어 있는 프로퍼티

protected string $tagName
리턴 string

$validTagAttributes 보호되어 있는 프로퍼티

protected array $validTagAttributes
리턴 array