PHP Class Prado\Web\UI\ActiveControls\TActiveListItemCollection
Allows TActiveDropDownList and TActiveListBox to add new options
during callback response. New options can only be added
after the
{@link TControl::onLoad OnLoad} event.
The {@link getListHasChanged ListHasChanged} property is true when the
list items has changed. The control responsible for the list needs to
repopulate the client-side options.
Afficher le fichier
Open project: pradosoft/prado
Class Usage Examples
Méthodes publiques
Méthodes protégées
Method Details
canUpdateClientSide()
protected méthode
getControl()
public méthode
public getControl ( ) : Prado\Web\UI\ActiveControls\IActiveControl |
Résultat |
Prado\Web\UI\ActiveControls\IActiveControl |
active control using the collection. |
getListHasChanged()
public méthode
insertAt()
public méthode
The new option is added on the client-side during callback.
removeAt()
public méthode
Removes an item from at specified index.
setControl()
public méthode
public setControl ( Prado\Web\UI\ActiveControls\IActiveControl $control ) |
$control |
Prado\Web\UI\ActiveControls\IActiveControl |
|
updateClientSide()
public méthode
Update client-side list items.