Merge pull request #19120 from eileenmcnaughton/fee
[civicrm-core.git] / api / v3 / JobLog.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
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 +--------------------------------------------------------------------+
10 */
11
12 /**
13 * Retrieve one or more job log record.
14 *
15 * @param array $params
16 * input parameters
17 *
18 * @return array
19 */
20 function civicrm_api3_job_log_get($params) {
21 return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
22 }
23
24 /**
25 * Create one or more job log record.
26 *
27 * @param array $params
28 * input parameters
29 *
30 * @return array
31 */
32 function civicrm_api3_job_log_create($params) {
33 return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params, 'JobLog');
34 }
35
36 /**
37 * Delete one or more job log record.
38 *
39 * @param array $params
40 * input parameters
41 *
42 * @return array
43 */
44 function civicrm_api3_job_log_delete($params) {
45 return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params, 'JobLog');
46 }