_getTable()->update( array('status' => $status), $this->_db->quoteInto('id = ?', $this->getPrimaryKey(), \Zend_Db::INT_TYPE) ); } return (bool) $result; } public function getObjectInfo() { $info = parent::getObjectInfo(); if ($info) { if ('changeStatus' == \Qs_Request::getRequestValue('action')) { $status = \Qs_Request::getRequestValue('status'); $info['status'] = Form\FilterForm::$commentStatusLinks[$status]; } } return $info; } }