PHP Класс TbFormInputElement

Наследование: extends CFormElement
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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