INFRA-132 - api - Convert single-line @param to multi-line
[civicrm-core.git] / api / v3 / ContributionPage.php
index 9e1b49000aad6f912a266939a9cef86c3eb7a250..e8e609919e373f8d6e038fa6b68deca722f1b680 100644 (file)
@@ -38,7 +38,8 @@
 /**
  * Create or update a contribution_page
  *
- * @param array $params  Associative array of property
+ * @param array $params
+ *   Associative array of property.
  *                       name/value pairs to insert in new 'contribution_page'
  * @example ContributionPageCreate.php Std Create example
  *
@@ -57,7 +58,8 @@ function civicrm_api3_contribution_page_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_contribution_page_create_spec(&$params) {
   $params['financial_type_id']['api.required'] = 1;
@@ -68,7 +70,8 @@ function _civicrm_api3_contribution_page_create_spec(&$params) {
 /**
  * Returns array of contribution_pages  matching a set of one or more group properties
  *
- * @param array $params Array of one or more valid property_name=>value pairs.
+ * @param array $params
+ *   Array of one or more valid property_name=>value pairs.
  *
  * @return array API Result array Array of matching contribution_pages
  * {@getfields contribution_page_get}
@@ -84,7 +87,8 @@ function civicrm_api3_contribution_page_get($params) {
  * This method is used to delete any existing contribution_page. id of the group
  * to be deleted is required field in $params array
  *
- * @param array $params array containing id of the group
+ * @param array $params
+ *   Array containing id of the group.
  *                       to be deleted
  *
  * @return array API result Array
@@ -101,7 +105,8 @@ function civicrm_api3_contribution_page_delete($params) {
  * This method is used to delete any existing contribution_page. id of the group
  * to be deleted is required field in $params array
  *
- * @param array $params  (reference) array containing id of the group
+ * @param array $params
+ *   (reference) array containing id of the group.
  *                       to be deleted
  *
  * @return array API result array