/** Delete a suggested topic
  * @access public
  * @return void
  */
 public function deletesuggestedAction()
 {
     if ($this->_request->isPost()) {
         $id = (int) $this->_request->getPost('id');
         $del = $this->_request->getPost('del');
         if ($del == 'Yes' && $id > 0) {
             $where = $this->_suggested->getAdapter()->quoteInto('id = ?', $id);
             $this->_suggested->delete($where);
             $this->getFlash()->addMessage('Record deleted!');
             $this->redirect(self::REDIRECT . 'suggested/');
         }
     } else {
         $id = (int) $this->_request->getParam('id');
         if ($id > 0) {
             $this->view->suggest = $this->_suggested->fetchRow('id=' . $id);
         }
     }
 }
 /** Get an individual topic
  * @access public
  * @return void
  * @throws Pas_Exception_Param
  */
 public function topicAction()
 {
     if ($this->getParam('id', false)) {
         $topic = new SuggestedResearch();
         $this->view->topic = $topic->getTopic($this->getParam('id'));
     } else {
         throw new Pas_Exception_Param($this->_missingParameter, 500);
     }
 }