Ejemplo n.º 1
0
 public function getSiteEditUserCount($fromTime, $toTime)
 {
     $receive = RecordStatistics::getEditorCountGroupByWikiSite($fromTime, $toTime);
     if ($receive->status == 'success') {
         foreach ($receive->result as $value) {
             $resdata[$value->_id] = $value->value;
         }
         return $resdata;
     } else {
         throw new Exception("Error getSiteEditUserCount/getEditorCountGroupByWikiSite Bad Request");
     }
 }