Fix for currency format on exporting contribution detail report
[civicrm-core.git] / api / v3 / UFMatch.php
index 77359bc33288e703540556079996b84636a4ce1b..a975f83d08eae5520d0fb7a2e55421b435297789 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  */
 
 /**
- * File for the CiviCRM APIv3 user framework group functions
+ * This api exposes CiviCRM user framework match.
  *
  * @package CiviCRM_APIv3
- * @subpackage API_UF
- *
- * @copyright CiviCRM LLC (c) 2004-2014
- * @version $Id: UFGroup.php 30171 2010-10-14 09:11:27Z mover $
- *
  */
 
 /**
- * get the contact_id given a uf_id or vice versa
+ * Get the contact_id given a uf_id or vice versa.
  *
  * @param array $params
  *
@@ -48,27 +43,25 @@ function civicrm_api3_uf_match_get($params) {
 }
 
 /**
- * Create or update a UF Match record
+ * Create or update a UF Match record.
  *
  * @param array $params
- *   Associative array of property.
- *                       name/value pairs to insert in new 'survey'
- * @example UFMatch.php Std Create example
+ *   Array per getfields metadata.
  *
  * @return array
- *   api result array
- *   {@getfields uf_match_create}
+ *   Api result array
  */
 function civicrm_api3_uf_match_create($params) {
   return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $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.
+ *   Array of parameters determined by getfields.
  */
 function _civicrm_api3_uf_match_create_spec(&$params) {
   $params['contact_id']['api.required'] = 1;
@@ -77,16 +70,12 @@ function _civicrm_api3_uf_match_create_spec(&$params) {
 }
 
 /**
- * Create or update a survey
+ * Delete a UF Match record.
  *
  * @param array $params
- *   Associative array of property.
- *                       name/value pairs to insert in new 'survey'
- * @example UFMatch.php Std Create example
  *
  * @return array
- *   api result array
- *   {@getfields uf_match_create}
+ *   Api result array.
  */
 function civicrm_api3_uf_match_delete($params) {
   return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);