+--------------------------------------------------------------------+
| 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
*
}
/**
- * 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);
* 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;
}
/**
- * 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);