/** * Обновление существующей записи */ public function update() { $q = new CQuery(); $q->update($this->_table, $this->_items)->condition($this->getPk() . "=" . $this->getId())->execute(); }