Merge pull request #4892 from colemanw/INFRA-132
[civicrm-core.git] / api / v3 / ParticipantPayment.php
index cc9584dc63361acb3353377b684f78c7be854746..10bff1399a94bfeb5ef5a93d1c910cb4f06d1ee7 100644 (file)
@@ -2,7 +2,7 @@
 
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -47,7 +47,8 @@
  * This API is used for creating a Participant Payment of Event.
  * Required parameters : participant_id, contribution_id.
  *
- * @param   array  $params     an associative array of name/value property values of civicrm_participant_payment
+ * @param array $params
+ *   An associative array of name/value property values of civicrm_participant_payment.
  * @example ParticipantPaymentCreate.php
  * {@example ParticipantPaymentCreate.php 0}
  *
@@ -73,7 +74,8 @@ function civicrm_api3_participant_payment_create($params) {
  * Adjust Metadata for Create action
  *
  * The metadata is used for setting defaults, documentation & validation
- * @param array $params array or parameters determined by getfields
+ * @param array $params
+ *   Array or parameters determined by getfields.
  */
 function _civicrm_api3_participant_payment_create_spec(&$params) {
   $params['participant_id']['api.required'] = 1;
@@ -85,9 +87,7 @@ function _civicrm_api3_participant_payment_create_spec(&$params) {
  *
  * This API is used for deleting a Participant Payment
  *
- * @param $params
- *
- * @internal param Int $participantPaymentID Id of the Participant Payment to be deleted
+ * @param array $params
  *
  * @return array API result
  * @example ParticipantPaymentDelete.php
@@ -103,14 +103,14 @@ function civicrm_api3_participant_payment_delete($params) {
  * Retrieve one / all contribution(s) / participant(s) linked to a
  * contribution.
  *
- * @param  array   $params  input parameters
+ * @param array $params
+ *   Input parameters.
  *
  * @return array  array of properties, if error an array with an error id and error message
- *  @example ParticipantPaymentGet
+ * @example ParticipantPaymentGet
  * {@getfields ParticipantPayment_get}
  * @access public
  */
 function civicrm_api3_participant_payment_get($params) {
   return _civicrm_api3_basic_get('CRM_Event_DAO_ParticipantPayment', $params);
 }
-