/** Display the find embed view * */ public function embedAction() { if ($this->_getParam('id', false)) { $id = (int) $this->_getParam('id'); $finds = new Finds(); $this->view->finds = $finds->getEmbedFind($id); $thumbs = new Slides(); $this->view->thumbs = $thumbs->getThumbnails($id); } else { throw new Pas_Exception_Param($this->_missingParameter); } }