Beispiel #1
0
 /**
  * add log to civicrm_log table
  * 
  * @param array $params  array of name-value pairs of log table.
  * 
  * @static
  */
 static function add(&$params)
 {
     require_once 'CRM/Core/DAO/Log.php';
     $log = new CRM_Core_DAO_Log();
     $log->copyValues($params);
     $log->save();
 }
Beispiel #2
0
 /**
  * add log to civicrm_log table
  *
  * @param array $params  array of name-value pairs of log table.
  *
  * @static
  */
 static function add(&$params)
 {
     $log = new CRM_Core_DAO_Log();
     $log->copyValues($params);
     $log->save();
 }