private function onAjaxUpdate() { GWF_ChatOnline::onRequest($this->module); $times = $this->getAjaxTimes(); $back = $this->module->getAjaxUpdates($times); self::saveAjaxTimes($times); return $back; }
public function execute() { GWF_ChatOnline::onRequest($this->module); GWF_Website::setPageTitle($this->module->lang('pt_chat')); GWF_Website::setMetaTags($this->module->lang('mt_chat')); GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/Chat/gwf_chat.js?v=4'); if (false !== Common::getPost('post')) { return $this->onPost() . $this->templatePage(); } return $this->templatePage(); }