You are here

public function HeartbeatActivity::save in Heartbeat 6.3

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

Public function to save activity to database

Parameters

array raw argument to enforce as is (pre-renderd):

File

includes/heartbeatactivity.inc, line 118

Class

HeartbeatActivity
Class to handle user activity data

Code

public function save($raw_args = array()) {
  if (module_exists('locale')) {
    return $this
      ->save_locale($raw_args);
  }
  else {
    return $this
      ->_save($raw_args);
  }
}