PHP Class Prado\Web\UI\WebControls\TTabViewCollection

TTabViewCollection is used to maintain a list of views belong to a {@link TTabPanel}.
Since: 3.1.1
Inheritance: extends Prado\Web\UI\TControlCollection
Exibir arquivo Open project: pradosoft/prado

Public Methods

Method Description
findIndexByID ( $id ) : integer Finds the index of the tab view whose ID is the same as the one being looked for.
insertAt ( $index, $item ) Inserts an item at the specified position.

Method Details

findIndexByID() public method

Finds the index of the tab view whose ID is the same as the one being looked for.
public findIndexByID ( $id ) : integer
return integer the index of the tab view found, -1 if not found.

insertAt() public method

This overrides the parent implementation by performing sanity check on the type of new item.
public insertAt ( $index, $item )