/** * Обновление разговора * * @param ModuleTalk_EntityTalk $oTalk Объект сообщения * @return int */ public function UpdateTalk(ModuleTalk_EntityTalk $oTalk) { $this->Cache_Delete("talk_{$oTalk->getId()}"); return $this->oMapper->UpdateTalk($oTalk); }
/** * Обновление разговора * * @param ModuleTalk_EntityTalk $oTalk Объект сообщения * * @return int */ public function UpdateTalk($oTalk) { $xResult = $this->oMapper->UpdateTalk($oTalk); E::ModuleCache()->Delete("talk_{$oTalk->getId()}"); return $xResult; }