/** Set up the individual period * @access public * @return void * @throws Pas_Exception_Param */ public function periodAction() { if ($this->getParam('id', false)) { $id = (int) $this->getParam('id'); $this->view->periods = $this->_reeces->getReecePeriodDetail($id); $emperors = new Emperors(); $this->view->reeces = $emperors->getReeceDetail($id); $reverses = new RevTypes(); $this->view->reverses = $reverses->getRevTypeReece($id); } else { throw new Pas_Exception_Param($this->_missingParameter, 500); } }