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);
        }
    }