You are here

function HeartbeatActivity::__construct in Heartbeat 6.3

Same name and namespace in other branches
  1. 6.4 includes/heartbeatactivity.inc \HeartbeatActivity::__construct()
  2. 7 includes/heartbeatactivity.inc \HeartbeatActivity::__construct()

constructor

File

includes/heartbeatactivity.inc, line 37

Class

HeartbeatActivity
Class to handle user activity data

Code

function __construct($data = null) {
  if (isset($data)) {
    $this
      ->set_data($data);
  }
}