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