PHP Класс Prado\Web\UI\WebControls\TRadioButtonList

TRadioButtonList displays a list of radiobuttons on a Web page. TRadioButtonList inherits all properties and events of {@link TCheckBoxList}. Each TRadioButtonList displays one group of radiobuttons, i.e., at most one radiobutton can be selected at a time.
С версии: 3.0
Автор: Qiang Xue ([email protected])
Наследование: extends TCheckBoxList
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
loadPostData ( $key, $values ) : boolean Loads user input data.
setSelectedIndices ( $indices )

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

Метод Описание
createRepeatedControl ( ) : TControl Creates a control used for repetition (used as a template).
getClientClassName ( ) : string Gets the name of the javascript class responsible for performing postback for this control.
getIsMultiSelect ( ) : boolean

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

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

Creates a control used for repetition (used as a template).
protected createRepeatedControl ( ) : TControl
Результат TControl the control to be repeated

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

This method overrides the parent implementation.
protected getClientClassName ( ) : string
Результат string the javascript class name

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

protected getIsMultiSelect ( ) : boolean
Результат boolean whether this control supports multiple selection. Always false for radiobutton list.

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

This method is primarly used by framework developers.
public loadPostData ( $key, $values ) : boolean
Результат boolean whether the data of the control has been changed

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

public setSelectedIndices ( $indices )