Prado\Web\UI\WebControls\TMultiView::getActiveViewIndex PHP Метод

getActiveViewIndex() публичный Метод

public getActiveViewIndex ( ) : integer
Результат integer the zero-based index of the current view in the view collection. -1 if no active view. Default is -1.
    public function getActiveViewIndex()
    {
        if ($this->_cachedActiveViewIndex > -1) {
            return $this->_cachedActiveViewIndex;
        } else {
            return $this->getControlState('ActiveViewIndex', -1);
        }
    }