You are here

function user_activity::__construct in Heartbeat 6.2

constructor

File

./heartbeat.module, line 38
To fully understand this, you have to be familiar with the rules module. Lots of documentation can be found on http://drupal.org/node/298480 for an introduction and tutorial, but http://drupal.org/node/298486 is a lot of handy info for developers.

Class

user_activity
Class to handle user activity data

Code

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