PHP Class Prado\Web\UI\TControlCollection
TControlCollection implements a collection that enables
controls to maintain a list of their child controls.
Exibir arquivo
Open project: pradosoft/prado
Class Usage Examples
Public Methods
Method |
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. |
|
Protected Methods
Method |
Description |
|
getOwner ( ) : TControl |
|
|
Method Details
__construct()
public method
public __construct ( TControl $owner, $readOnly = false ) |
$owner |
TControl |
|
Overrides the parent implementation by invoking {@link TControl::clearNamingContainer}
getOwner()
protected method
protected getOwner ( ) : TControl |
return |
TControl |
the control that owns this collection. |
This overrides the parent implementation by performing additional
operations for each newly added child control.
This overrides the parent implementation by performing additional
cleanup work when removing a child control.