PHP 클래스 TbFormInputElement

상속: extends CFormElement
파일 보기 프로젝트 열기: yinhe/yincart

공개 프로퍼티들

프로퍼티 타입 설명
$htmlOptionTypes map the htmlOptions input type: not supported by YiiBooster yet
$tbActiveFormMethods Map element->type to TbActiveForm method
$wrapBootstrapTags boolean Wrap control-group/controls tags around custom types (CInputWidget or CJuiInputWidget)

공개 메소드들

메소드 설명
render ( ) Render this element using the mapped method from $tbActiveFormMethods
renderControlLabel ( ) Render the label with class="control-label" for custom types

보호된 메소드들

메소드 설명
getActiveFormWidget ( ) : boolean Get the TbActiveForm instance
prepareHtmlOptions ( array $options ) : mixed Prepare the htmlOptions before calling the TbActiveForm method

메소드 상세

getActiveFormWidget() 보호된 메소드

Get the TbActiveForm instance
protected getActiveFormWidget ( ) : boolean
리턴 boolean

prepareHtmlOptions() 보호된 메소드

Prepare the htmlOptions before calling the TbActiveForm method
protected prepareHtmlOptions ( array $options ) : mixed
$options array
리턴 mixed

render() 공개 메소드

Render this element using the mapped method from $tbActiveFormMethods
public render ( )

renderControlLabel() 공개 메소드

Render the label with class="control-label" for custom types
public renderControlLabel ( )

프로퍼티 상세

$htmlOptionTypes 공개적으로 정적으로 프로퍼티

map the htmlOptions input type: not supported by YiiBooster yet
public static $htmlOptionTypes

$tbActiveFormMethods 공개적으로 정적으로 프로퍼티

Map element->type to TbActiveForm method
public static $tbActiveFormMethods

$wrapBootstrapTags 공개적으로 프로퍼티

Wrap control-group/controls tags around custom types (CInputWidget or CJuiInputWidget)
public bool $wrapBootstrapTags
리턴 boolean