Gdn::statistics PHP Method

statistics() public static method

Get a reference to the Statistics object.
public static statistics ( ) : Gdn_Statistics
return Gdn_Statistics
    public static function statistics()
    {
        return self::factory('Statistics');
    }

Usage Example

Esempio n. 1
0
 /**
  * Handle the tracking of a page tick.
  */
 public function analyticsTick()
 {
     $this->deliveryMethod(DELIVERY_METHOD_JSON);
     $this->deliveryType(DELIVERY_TYPE_DATA);
     Gdn::statistics()->tick();
     Gdn::statistics()->fireEvent("AnalyticsTick");
     $this->render();
 }
All Usage Examples Of Gdn::statistics