projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #5473 from aydun/CRM-16160
[civicrm-core.git]
/
api
/
v3
/
SystemLog.php
diff --git
a/api/v3/SystemLog.php
b/api/v3/SystemLog.php
index b61843def29927992ce92ed9f433dd7aea2fe872..1293a13ac074c6edb0c9cc30bf832cf4c2a23f88 100644
(file)
--- a/
api/v3/SystemLog.php
+++ b/
api/v3/SystemLog.php
@@
-1,10
+1,9
@@
<?php
<?php
-
/*
+--------------------------------------------------------------------+
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
5
|
+ | CiviCRM version 4.
6
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
4
|
+ | Copyright CiviCRM LLC (c) 2004-201
5
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-27,30
+26,29
@@
*/
/**
*/
/**
- *
File for the CiviCRM APIv3 SystemLog functions
+ *
This api exposes CiviCRM SystemLog.
*
* @package CiviCRM_APIv3
*
* @package CiviCRM_APIv3
- * @subpackage API_SystemLog
- *
- * @copyright CiviCRM LLC (c) 2004-2014
- * @version $Id: SystemLog.php 30171 2010-10-14 09:11:27Z mover $
- *
*/
/**
*/
/**
- * @param $params
+ * Delete system log record.
+ *
+ * @param array $params
*
* @return array
*/
function civicrm_api3_system_log_delete($params) {
*
* @return array
*/
function civicrm_api3_system_log_delete($params) {
- return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, T
rue
, 'SystemLog');
+ return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, T
RUE
, 'SystemLog');
}
/**
}
/**
- * Create system log
+ * Create system log record.
+ *
* It's arguable whether this function should exist as it fits our crud pattern and adding it meets our SyntaxConformance test requirements
* but it just wraps system.log which is more consistent with the PSR3 implemented.
* It's arguable whether this function should exist as it fits our crud pattern and adding it meets our SyntaxConformance test requirements
* but it just wraps system.log which is more consistent with the PSR3 implemented.
- * @param $params
+ *
+ * @param array $params
*
* @return array
*/
*
* @return array
*/
@@
-59,21
+57,22
@@
function civicrm_api3_system_log_create($params) {
}
/**
}
/**
- *
@param $params
+ *
Adjust system log create metadata.
*
*
- * @
return array
+ * @
param array $params
*/
function _civicrm_api3_system_log_create_spec(&$params) {
*/
function _civicrm_api3_system_log_create_spec(&$params) {
- require_once
('api/v3/System.php')
;
-
_civicrm_api3_system_log_spec($params);
+ require_once
'api/v3/System.php'
;
+ _civicrm_api3_system_log_spec($params);
}
/**
}
/**
- * @param $params
+ * Get system log record.
+ *
+ * @param array $params
*
* @return array
*/
function civicrm_api3_system_log_get($params) {
*
* @return array
*/
function civicrm_api3_system_log_get($params) {
- return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, T
rue
, 'SystemLog');
+ return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, T
RUE
, 'SystemLog');
}
}
-