You are here

private function HeartbeatActivity::_save in Heartbeat 7

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

Save activity log

Parameters

array $raw_args: All variables as key => value.

Object $lang: Optional lang_code.

1 call to HeartbeatActivity::_save()
HeartbeatActivity::save in includes/heartbeatactivity.inc
Public function to save activity to database

File

includes/heartbeatactivity.inc, line 475
HeartbeatActivity object Defines one heartbeat activity object.

Class

HeartbeatActivity
Class defines an activity message object

Code

private function _save($raw_args = array(), $lang = '') {

  // Rebuild arguments with tokens
  $args = $this
    ->rebuild_arguments($raw_args);
  return $this
    ->log_message($args, $lang);
}