/** Individual ruler page * @access public * @return void * @throws Pas_Exception_Param */ public function rulerAction() { if ($this->getParam('id', false)) { $this->view->greek = $this->_rulers->getRulerProfile($this->getParam('id')); } else { throw new Pas_Exception_Param($this->_missingParameter, 500); } }
/** Get individual ruler page */ public function rulerAction() { if ($this->_getParam('id', false)) { $byzantines = new Rulers(); $this->view->byzantine = $byzantines->getRulerProfile((int) $this->_getParam('id')); $this->view->id = $this->_getParam('id'); } else { throw new Pas_Exception_Param($this->_missingParameter); } }