/** * Удаляем тип публикаций * */ public function deleteAction() { if (!$this->_rubric) { throw new Exception('rubric_id не определён'); } $where = $this->_modelList->getAdapter()->quoteInto('rubric_id = ?', $this->_rubric->rubric_id); $this->_modelList->delete($where); }