function HeartbeatActivity::__construct in Heartbeat 6.3
Same name and namespace in other branches
- 6.4 includes/heartbeatactivity.inc \HeartbeatActivity::__construct()
- 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);
}
}