projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
comment tweaks (typos etc)
[civicrm-core.git]
/
api
/
v3
/
ParticipantPayment.php
diff --git
a/api/v3/ParticipantPayment.php
b/api/v3/ParticipantPayment.php
index f2d3dccfd76f1f029de06a4b093229b21f2ddf36..cc9584dc63361acb3353377b684f78c7be854746 100644
(file)
--- a/
api/v3/ParticipantPayment.php
+++ b/
api/v3/ParticipantPayment.php
@@
-2,9
+2,9
@@
/*
+--------------------------------------------------------------------+
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
3
|
+ | CiviCRM version 4.
5
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-32,7
+32,7
@@
* @package CiviCRM_APIv3
* @subpackage API_Participant
*
* @package CiviCRM_APIv3
* @subpackage API_Participant
*
- * @copyright CiviCRM LLC (c) 2004-201
3
+ * @copyright CiviCRM LLC (c) 2004-201
4
* @version $Id: Participant.php 30486 2010-11-02 16:12:09Z shot $
*
*/
* @version $Id: Participant.php 30486 2010-11-02 16:12:09Z shot $
*
*/
@@
-58,7
+58,7
@@
function civicrm_api3_participant_payment_create($params) {
$ids = array();
function civicrm_api3_participant_payment_create($params) {
$ids = array();
- if (
CRM_Utils_Array::value('id', $params
)) {
+ if (
!empty($params['id']
)) {
$ids['id'] = $params['id'];
}
$participantPayment = CRM_Event_BAO_ParticipantPayment::create($params, $ids);
$ids['id'] = $params['id'];
}
$participantPayment = CRM_Event_BAO_ParticipantPayment::create($params, $ids);
@@
-85,7
+85,9
@@
function _civicrm_api3_participant_payment_create_spec(&$params) {
*
* This API is used for deleting a Participant Payment
*
*
* This API is used for deleting a Participant Payment
*
- * @param Int $participantPaymentID Id of the Participant Payment to be deleted
+ * @param $params
+ *
+ * @internal param Int $participantPaymentID Id of the Participant Payment to be deleted
*
* @return array API result
* @example ParticipantPaymentDelete.php
*
* @return array API result
* @example ParticipantPaymentDelete.php
@@
-99,7
+101,7
@@
function civicrm_api3_participant_payment_delete($params) {
/**
* Retrieve one / all contribution(s) / participant(s) linked to a
/**
* Retrieve one / all contribution(s) / participant(s) linked to a
- * contrbution.
+ * contr
i
bution.
*
* @param array $params input parameters
*
*
* @param array $params input parameters
*