PHP Class Prado\Web\UI\TControlCollection
TControlCollection implements a collection that enables
controls to maintain a list of their child controls.
Afficher le fichier
Open project: pradosoft/prado
Class Usage Examples
Méthodes publiques
Méthode |
Description |
|
__construct ( TControl $owner, $readOnly = false ) |
Constructor. |
|
clear ( ) |
Overrides the parent implementation by invoking {@link TControl::clearNamingContainer} |
|
insertAt ( $index, $item ) |
Inserts an item at the specified position. |
|
removeAt ( $index ) : mixed |
Removes an item at the specified position. |
|
Méthodes protégées
Méthode |
Description |
|
getOwner ( ) : TControl |
|
|
Method Details
__construct()
public méthode
public __construct ( TControl $owner, $readOnly = false ) |
$owner |
TControl |
|
Overrides the parent implementation by invoking {@link TControl::clearNamingContainer}
getOwner()
protected méthode
protected getOwner ( ) : TControl |
Résultat |
TControl |
the control that owns this collection. |
insertAt()
public méthode
This overrides the parent implementation by performing additional
operations for each newly added child control.
removeAt()
public méthode
This overrides the parent implementation by performing additional
cleanup work when removing a child control.