PHP Class TbFormInputElement

Inheritance: extends CFormElement
Afficher le fichier Open project: yinhe/yincart

Méthodes publiques

Свойство Type Description
$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)

Méthodes publiques

Méthode Description
render ( ) Render this element using the mapped method from $tbActiveFormMethods
renderControlLabel ( ) Render the label with class="control-label" for custom types

Méthodes protégées

Méthode Description
getActiveFormWidget ( ) : boolean Get the TbActiveForm instance
prepareHtmlOptions ( array $options ) : mixed Prepare the htmlOptions before calling the TbActiveForm method

Method Details

getActiveFormWidget() protected méthode

Get the TbActiveForm instance
protected getActiveFormWidget ( ) : boolean
Résultat boolean

prepareHtmlOptions() protected méthode

Prepare the htmlOptions before calling the TbActiveForm method
protected prepareHtmlOptions ( array $options ) : mixed
$options array
Résultat mixed

render() public méthode

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

renderControlLabel() public méthode

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

Property Details

$htmlOptionTypes public_oe static_oe property

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

$tbActiveFormMethods public_oe static_oe property

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

$wrapBootstrapTags public_oe property

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