+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
* This api exposes CiviCRM custom group.
*
* @package CiviCRM_APIv3
- * @subpackage API_CustomGroup
- *
*/
/**
* Adjust Metadata for Create action.
*
* @param array $params
- * Array or parameters determined by getfields.
+ * Array of parameters determined by getfields.
*/
function _civicrm_api3_custom_group_create_spec(&$params) {
$params['extends']['api.required'] = 1;
*/
function civicrm_api3_custom_group_setvalue($params) {
require_once 'api/v3/Generic/Setvalue.php';
- $result = civicrm_api3_generic_setValue(array("entity" => 'custom_group', 'params' => $params));
+ $result = civicrm_api3_generic_setValue(array("entity" => 'CustomGroup', 'params' => $params));
if (empty($result['is_error'])) {
CRM_Utils_System::flushCache();
}