public function deleteAction() { $id = $this->_request->getParam('id'); $mTopics = new Forum_Models_Topics(); $mTopics->delete('topic_id=' . $id); exit; }
public function viewAction() { $id = $this->_request->getParam('id'); $mTopics = new Forum_Models_Topics(); $topic = $mTopics->fetchRow('topic_id=' . $id); $this->view->assign('topic', $topic); }