| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
class CRM_Contribute_BAO_ContributionRecur extends CRM_Contribute_DAO_ContributionRecur {
/**
- * Create recurring contribution
+ * Create recurring contribution.
*
* @param array $params
* (reference ) an assoc array of name/value pairs.
}
/**
- * Takes an associative array and creates a contribution object
+ * Takes an associative array and creates a contribution object.
*
* the function extract all the params it needs to initialize the create a
* contribution object. the params array could contain additional unused name/value
}
/**
- * Check if there is a recurring contribution with the same trxn_id or invoice_id
+ * Check if there is a recurring contribution with the same trxn_id or invoice_id.
*
* @param array $params
* (reference ) an assoc array of name/value pairs.
* @param array $duplicates
* (reference ) store ids of duplicate contribs.
*
- * @return boolean
+ * @return bool
* true if duplicate, false otherwise
*/
public static function checkDuplicate($params, &$duplicates) {
}
/**
- * Get list of recurring contribution of contact Ids
+ * Get list of recurring contribution of contact Ids.
*
* @param int $contactId
* Contact ID.
}
}
}
+
}