Ejemplo n.º 1
0
 /** Display details of a person
  */
 public function personAction()
 {
     if ($this->_getParam('id', false)) {
         $this->view->peoples = $this->_peoples->getPersonDetails($this->_getParam('id'));
         $finds = new Finds();
         $this->view->finds = $finds->getFindsToPerson($this->_getAllParams());
     } else {
         throw new Exception($this->_missingParameter);
     }
 }