3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
19 * This class contains functions for managing Action Logs
21 class CRM_Core_BAO_ActionLog
extends CRM_Core_DAO_ActionLog
{
24 * Create or update an action log entry.
26 * @param array $params
30 public static function create($params) {
31 $params['action_date_time'] = $params['action_date_time'] ??
date('YmdHis');
33 return self
::writeRecord($params);