Comment fixes
authorEileen McNaughton <eileen@fuzion.co.nz>
Mon, 5 May 2014 03:03:45 +0000 (20:03 -0700)
committerEileen McNaughton <eileen@fuzion.co.nz>
Mon, 5 May 2014 03:03:45 +0000 (20:03 -0700)
api/v3/Contribution.php
api/v3/Job.php
api/v3/MailingJob.php

index 4394e0628fa769faa016c0f2d0a6dd3049ee1e8d..c1b967838094cf467096623478db35058cf8eddd 100644 (file)
@@ -40,8 +40,9 @@
 /**
  * Add or update a contribution
  *
- * @param  array   $params           (reference ) input parameters
+ * @param  array $params (reference ) input parameters
  *
+ * @throws API_Exception
  * @return array  Api result array
  * @static void
  * @access public
@@ -162,8 +163,9 @@ function _civicrm_api3_contribution_delete_spec(&$params) {
 /**
  * Retrieve a set of contributions, given a set of input params
  *
- * @param  array   $params           (reference ) input parameters
- * @param array    $returnProperties Which properties should be included in the
+ * @param  array $params (reference ) input parameters
+ *
+ * @internal param array $returnProperties Which properties should be included in the
  * returned Contribution object. If NULL, the default
  * set of properties will be included.
  *
@@ -224,11 +226,13 @@ function _civicrm_api3_contribution_get_spec(&$params) {
  * take the input parameter list as specified in the data model and
  * convert it into the same format that we use in QF and BAO object
  *
- * @param array  $params       Associative array of property name/value
+ * @param array $params Associative array of property name/value
  * pairs to insert in new contact.
- * @param array  $values       The reformatted properties that we can use internally
+ * @param array $values The reformatted properties that we can use internally
  * '
  *
+ * @param bool $create
+ *
  * @return array|CRM_Error
  * @access public
  */
@@ -298,16 +302,19 @@ function civicrm_api3_contribution_transact($params) {
 
   return civicrm_api('contribution', 'create', $params);
 }
+
 /**
  * Send a contribution confirmation (receipt or invoice)
  * The appropriate online template will be used (the existence of related objects
  * (e.g. memberships ) will affect this selection
+ *
  * @param array $params input parameters
  * {@getfields Contribution_sendconfirmation}
+ *
+ * @throws Exception
  * @return array  Api result array
  * @static void
  * @access public
- *
  */
 function civicrm_api3_contribution_sendconfirmation($params) {
   $contribution = new CRM_Contribute_BAO_Contribution();
@@ -358,10 +365,11 @@ function _civicrm_api3_contribution_sendconfirmation_spec(&$params) {
  *
  * @param array $params input parameters
  * {@getfields Contribution_completetransaction}
+ *
+ * @throws API_Exception
  * @return array  Api result array
  * @static void
  * @access public
- *
  */
 function civicrm_api3_contribution_completetransaction(&$params) {
 
index a7effd69d2e4f33afc528bb7bd813b5665e6c6a9..cb8bbfac7300b94cdee18e970335039719a6f2f3 100644 (file)
@@ -88,7 +88,9 @@ function civicrm_api3_job_get($params) {
 /**
  * Delete a job
  *
- * @param int $id
+ * @param $params
+ *
+ * @internal param int $id
  *
  * @return array API Result Array
  * {@getfields Job_delete}
index 5357ec22de8533c2824119b33af4b670368d66b9..82d132e511871741c44d76553f1a7c36f91e1fba 100644 (file)
@@ -63,7 +63,9 @@ function _civicrm_api3_mailing_job_create_spec(&$params) {
 /**
  * Returns array of Mailing Jobs  matching a set of one or more group properties
  *
- * @param array $params  Array of one or more valid
+ * @param array $params Array of one or more valid
+ * @param array $ids
+ *
  * @return array API return Array of matching mailing jobs
  * {@getfields mailing_job_get}
  * @access public