Prado\Web\UI\WebControls\TMultiView::getActiveViewIndex PHP Method

getActiveViewIndex() public method

public getActiveViewIndex ( ) : integer
return 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);
        }
    }