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.
Datei anzeigen
Open project: pradosoft/prado
Class Usage Examples
Public Methods
Protected Methods
Method Details
canUpdateClientSide()
protected method
getControl()
public method
public getControl ( ) : Prado\Web\UI\ActiveControls\IActiveControl |
return |
Prado\Web\UI\ActiveControls\IActiveControl |
active control using the collection. |
getListHasChanged()
public method
The new option is added on the client-side during callback.
Removes an item from at specified index.
setControl()
public method
public setControl ( Prado\Web\UI\ActiveControls\IActiveControl $control ) |
$control |
Prado\Web\UI\ActiveControls\IActiveControl |
|
updateClientSide()
public method
Update client-side list items.