PHP Класс Prado\Web\UI\TControlCollection
TControlCollection implements a collection that enables
controls to maintain a list of their child controls.
Показать файл
Открыть проект
Примеры использования класса
Открытые методы
Метод |
Описание |
|
__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. |
|
Защищенные методы
Описание методов
__construct()
публичный Метод
public __construct ( TControl $owner, $readOnly = false ) |
$owner |
TControl |
|
Overrides the parent implementation by invoking {@link TControl::clearNamingContainer}
getOwner()
защищенный Метод
protected getOwner ( ) : TControl |
Результат |
TControl |
the control that owns this collection. |
insertAt()
публичный Метод
This overrides the parent implementation by performing additional
operations for each newly added child control.
removeAt()
публичный Метод
This overrides the parent implementation by performing additional
cleanup work when removing a child control.