public function getActiveViewIndex() { if ($this->_cachedActiveViewIndex > -1) { return $this->_cachedActiveViewIndex; } else { return $this->getControlState('ActiveViewIndex', -1); } }