PHP 클래스 Prado\Web\UI\TControlCollection

TControlCollection implements a collection that enables controls to maintain a list of their child controls.
부터: 3.0
저자: Qiang Xue ([email protected])
상속: extends Prado\Collections\TList
파일 보기 프로젝트 열기: pradosoft/prado 1 사용 예제들

공개 메소드들

메소드 설명
__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.

보호된 메소드들

메소드 설명
getOwner ( ) : TControl

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( TControl $owner, $readOnly = false )
$owner TControl

clear() 공개 메소드

Overrides the parent implementation by invoking {@link TControl::clearNamingContainer}
public clear ( )

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.
public insertAt ( $index, $item )

removeAt() 공개 메소드

This overrides the parent implementation by performing additional cleanup work when removing a child control.
public removeAt ( $index ) : mixed
리턴 mixed the removed item.