PHP Class Prado\Web\UI\WebControls\TAccordionViewCollection

TAccordionViewCollection is a collection of {@link TAccordionView} to be used inside a {@link TAccordion}.
Since: 3.2
Author: Gabor Berczi, DevWorx Hungary ([email protected])
Inheritance: extends Prado\Web\UI\TControlCollection
显示文件 Open project: pradosoft/prado

Public Methods

Method Description
findIndexByID ( $id ) : integer Finds the index of the accordion 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 accordion view whose ID is the same as the one being looked for.
public findIndexByID ( $id ) : integer
return integer the index of the accordion 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 )