/** * @return array * @throws Exception */ public function evaluateGlobalStats() { $dao = new EditLog_EditLogDao(Database::obtain()); return $dao->getGlobalStats($this->jid, $this->password); }
/** * @return string */ private function getEditLogClass() { $return = ""; $editLogModel = new EditLog_EditLogModel($this->jid, $this->password); $issue = $editLogModel->getMaxIssueLevel(); $dao = new EditLog_EditLogDao(Database::obtain()); if (!$dao->isEditLogEmpty($this->jid, $this->password)) { if ($issue > 0) { $return = "edit_" . $issue; } } return $return; }