Example #1
0
 /**
  * Prepare Active Users for statistics
  *
  * @param boolean
  *
  * @return array
  */
 public static function show($metrics, $fullDataNeeded = false)
 {
     // defaults
     self::$statName = 'Active Users';
     self::$statID = 'au';
     // return array
     $AUData = array();
     // full AU data
     if ($fullDataNeeded) {
         $AUData = self::showFullStat($metrics);
     } else {
         $AUData = self::showSimpleStat($metrics);
     }
     return $AUData;
 }