PHP Class 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.
Since: 3.0
Author: Qiang Xue ([email protected])
Inheritance: extends TCheckBoxList
Afficher le fichier Open project: pradosoft/prado Class Usage Examples

Méthodes publiques

Méthode Description
loadPostData ( $key, $values ) : boolean Loads user input data.
setSelectedIndices ( $indices )

Méthodes protégées

Méthode Description
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

Method Details

createRepeatedControl() protected méthode

Creates a control used for repetition (used as a template).
protected createRepeatedControl ( ) : TControl
Résultat TControl the control to be repeated

getClientClassName() protected méthode

This method overrides the parent implementation.
protected getClientClassName ( ) : string
Résultat string the javascript class name

getIsMultiSelect() protected méthode

protected getIsMultiSelect ( ) : boolean
Résultat boolean whether this control supports multiple selection. Always false for radiobutton list.

loadPostData() public méthode

This method is primarly used by framework developers.
public loadPostData ( $key, $values ) : boolean
Résultat boolean whether the data of the control has been changed

setSelectedIndices() public méthode

public setSelectedIndices ( $indices )