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
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

Méthode 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 méthode

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

insertAt() public méthode

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