<?php
-
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
*/
/**
- * Files required for this package
+ * @param array $params
*/
function _civicrm_api3_uf_group_create_spec(&$params) {
$session = CRM_Core_Session::singleton();
/**
* Use this API to create a new group. See the CRM Data Model for uf_group property definitions
*
- * @param $params array Associative array of property name/value pairs to insert in group.
+ * @param array $params
+ * Array Associative array of property name/value pairs to insert in group.
*
- * @return array API result array
+ * @return array
+ * API result array
* {@getfields UFGroup_create}
* @example UFGroupCreate.php
* @access public
/**
* Returns array of uf groups (profiles) matching a set of one or more group properties
*
- * @param array $params (reference) Array of one or more valid
+ * @param array $params
+ * (reference) Array of one or more valid.
* property_name=>value pairs. If $params is set
* as null, all surveys will be returned
*
- * @return array Array of matching profiles
+ * @return array
+ * Array of matching profiles
* {@getfields UFGroup_get}
* @example UFGroupGet.php
* @access public
/**
* Delete uf group
*
- * @param $params
+ * @param array $params
*
- * @internal param int $groupId Valid uf_group id that to be deleted
*
- * @return true on successful delete or return error
- * @todo doesnt rtn success or error properly
+ * @return array
* @access public
* {@getfields UFGroup_delete}
* @example UFGroupDelete.php
*/
function civicrm_api3_uf_group_delete($params) {
-
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
-