You are here

public function AnalyticData::setEventId in Analytics 6

Setter for event ID.

Parameters

$event_id:

1 call to AnalyticData::setEventId()
AnalyticData::__construct in includes/analyticdata.inc
Public constructor.

File

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

Class

AnalyticData
@file Class definition for analytics.

Code

public function setEventId($event_id) {
  $this->event_id = $event_id;
  $this->analytic = new Analytic();
  $this->analytic
    ->setEventId($event_id);
}