getfields api - ensure 'name' property is set for every field
[civicrm-core.git] / api / v3 / ReportInstance.php
index ba05cfc73dc6afc32212254c94a9f94d126b46b4..ebf7a44c9681a585ae7ac0c24d4da67e986e84a7 100644 (file)
@@ -1,20 +1,20 @@
 <?php
 
 /**
- * Retrieve a report instance
+ * Retrieve a report instance.
  *
  * @param array $params
  *   Input parameters.
  *
  * @return array
- *   details of found instances
+ *   Details of found instances
  */
 function civicrm_api3_report_instance_get($params) {
   return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
 }
 
 /**
- *  Add or update a report instance.
+ * Add or update a report instance.
  *
  * @param array $params
  *
@@ -26,9 +26,10 @@ function civicrm_api3_report_instance_create($params) {
 }
 
 /**
- * Adjust Metadata for Create action
+ * Adjust Metadata for Create action.
+ *
+ * The metadata is used for setting defaults, documentation & validation.
  *
- * The metadata is used for setting defaults, documentation & validation
  * @param array $params
  *   Array or parameters determined by getfields.
  */
@@ -38,7 +39,7 @@ function _civicrm_api3_report_instance_create_spec(&$params) {
 }
 
 /**
- * Deletes an existing ReportInstance
+ * Deletes an existing ReportInstance.
  *
  * @param array $params
  *