public function user_activity::save in Heartbeat 6.2
Public function to save activity to database
Parameters
array raw argument to enforce as is (pre-renderd):
File
- ./
heartbeat.module, line 98 - 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
public function save($raw_args = array()) {
if (module_exists('locale')) {
$this
->save_locale($raw_args);
}
else {
$this
->_save($raw_args);
}
}