/** * Удаление поля * * @param int $_REQUEST['field_id'] ID поля */ public function deletefieldAction() { if ($field_id = $this->getParam('field_id')) { $where = $this->_modelFields->getAdapter()->quoteInto('field_id = ?', $field_id); $this->_modelFields->delete($where); } }