<?php
-
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
* @package CiviCRM_APIv3
* @subpackage API_Group
*
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* @version $Id: GroupNesting.php 21624 2009-08-07 22:02:55Z wmorgan $
*
*/
/**
* Provides group nesting record(s) given parent and/or child id.
*
- * @param array $params an array containing at least child_group_id or parent_group_id
+ * @param array $params
+ * An array containing at least child_group_id or parent_group_id.
* {@getfields GroupNesting_get}
*
- * @return array list of group nesting records
+ * @return array
+ * list of group nesting records
*/
function civicrm_api3_group_nesting_get($params) {
* Creates group nesting record for given parent and child id.
* Parent and child groups need to exist.
*
- * @param array $params parameters array - allowed array keys include:
+ * @param array $params
+ * Parameters array - allowed array keys include:.
*
- * @return array TBD
+ * @return array
+ * TBD
* {@getfields GroupNesting_create
* @todo Work out the return value.
*/
* Adjust Metadata for Create action
*
* The metadata is used for setting defaults, documentation & validation
- * @param array $params array or parameters determined by getfields
+ * @param array $params
+ * Array or parameters determined by getfields.
*/
function _civicrm_api3_group_nesting_create_spec(&$params) {
$params['child_group_id']['api.required'] = 1;
/**
* Removes specific nesting records.
*
- * @param array $params parameters array - allowed array keys include:
+ * @param array $params
+ * Parameters array - allowed array keys include:.
* {@getfields GroupNesting_delete}
*
- * @return array API Success or fail array
+ * @return array
+ * API Success or fail array
*
* @todo Work out the return value.
*/
return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
-