You are here

public function AnalyticData::__construct in Analytics 6

Public constructor.

Parameters

$event_id integer ID of the event.:

File

includes/analyticdata.inc, line 19
Class definition for analytics.

Class

AnalyticData
@file Class definition for analytics.

Code

public function __construct($event_id = NULL) {
  if ($event_id != NULL) {
    $this
      ->setEventId($event_id);
  }
}