Example #1
0
 /**
  * @return array
  * @throws Exception
  */
 public function evaluateGlobalStats()
 {
     $dao = new EditLog_EditLogDao(Database::obtain());
     return $dao->getGlobalStats($this->jid, $this->password);
 }
Example #2
0
 /**
  * @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;
 }