Ejemplo n.º 1
0
 /** View details of a specific image
  * @access public
  * @return void
  * @throws Exception
  */
 public function imageAction()
 {
     if ($this->getParam('id', false)) {
         $this->view->images = $this->_images->getImage((int) $this->getParam('id'));
         $this->view->finds = $this->_images->getLinkedFinds((int) $this->getParam('id'));
     } else {
         throw new Pas_Exception_Param($this->_missingParameter, 500);
     }
 }