PHP Класс Prado\Web\UI\ActiveControls\TActiveListControlAdapter

Adapte the list controls to allows the selections on the client-side to be altered during callback response.
С версии: 3.1
Наследование: extends TActiveControlAdapter, implements Prado\Web\UI\WebControls\IListControlAdapter
Показать файл Открыть проект

Открытые методы

Метод Описание
clearSelection ( ) Clears all existing selections on the client side.
setSelectedIndex ( $index ) Selects an item based on zero-base index on the client side.
setSelectedIndices ( $indices ) Selects a list of item based on zero-base indices on the client side.
setSelectedValue ( $value ) Sets selection by item value on the client side.
setSelectedValues ( $values ) Sets selection by a list of item values on the client side.
updateListItems ( ) Update the client-side list options.

Защищенные методы

Метод Описание
canUpdateClientSide ( ) : boolean

Описание методов

canUpdateClientSide() защищенный Метод

protected canUpdateClientSide ( ) : boolean
Результат boolean true if can update client-side attributes.

clearSelection() публичный Метод

Clears all existing selections on the client side.
public clearSelection ( )

setSelectedIndex() публичный Метод

Selects an item based on zero-base index on the client side.
public setSelectedIndex ( $index )

setSelectedIndices() публичный Метод

Selects a list of item based on zero-base indices on the client side.
public setSelectedIndices ( $indices )

setSelectedValue() публичный Метод

Sets selection by item value on the client side.
public setSelectedValue ( $value )

setSelectedValues() публичный Метод

Sets selection by a list of item values on the client side.
public setSelectedValues ( $values )

updateListItems() публичный Метод

Update the client-side list options.
public updateListItems ( )