Api docblock cleanup.
[civicrm-core.git] / api / v3 / ContributionRecur.php
index 41e8bbaf06c161a1328322a409d693ba5b9c6a3d..0133aba9739c06b60850296a6f9bbc8c02c3c331 100644 (file)
  */
 
 /**
- * File for the CiviCRM APIv3 group functions
+ * This api exposes CiviCRM recurring contributions.
  *
  * @package CiviCRM_APIv3
- * @subpackage API_ContributionRecur
- * @copyright CiviCRM LLC (c) 2004-2014
  */
 
 /**
@@ -52,7 +50,7 @@ function civicrm_api3_contribution_recur_create($params) {
  * The metadata is used for setting defaults, documentation & validation.
  *
  * @param array $params
- *   Array or parameters determined by getfields.
+ *   Array of parameters determined by getfields.
  */
 function _civicrm_api3_contribution_recur_create_spec(&$params) {
   $params['contact_id']['api.required'] = 1;
@@ -65,9 +63,7 @@ function _civicrm_api3_contribution_recur_create_spec(&$params) {
  * Returns array of contribution_recurs matching a set of one or more group properties.
  *
  * @param array $params
- *   Array of one or more valid.
- *                       property_name=>value pairs. If $params is set
- *                       as null, all contribution_recurs will be returned
+ *   Array of properties. If empty, all records will be returned.
  *
  * @return array
  *   API result Array of matching contribution_recurs
@@ -97,8 +93,7 @@ function civicrm_api3_contribution_recur_cancel($params) {
  * to be deleted is required field in $params array
  *
  * @param array $params
- *   Array containing id of the group.
- *                       to be deleted
+ *   [id]
  *
  * @return array
  *   API result array