Prado\Web\UI\WebControls\TTabViewCollection::findIndexByID PHP Method

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.
    public function findIndexByID($id)
    {
        foreach ($this as $index => $view) {
            if ($view->getID(false) === $id) {
                return $index;
            }
        }
        return -1;
    }
TTabViewCollection