You are here

function user_activity_log in Heartbeat 6.2

User activity logger function

Parameters

The data to add one row:

2 calls to user_activity_log()
friendlist_activity_rules_action in user_activity/modules/friendlist_activity/friendlist_activity.rules.inc
Action Implementation: Log an activity
user_activity_rules_default_action in user_activity/user_activity.rules.inc
Action Implementation: Log an activity

File

user_activity/user_activity.module, line 37

Code

function user_activity_log($data, $args = array()) {
  $user_activity = new user_activity($data);
  $user_activity
    ->save($args);
}