Merge branch 4.5 into master
[civicrm-core.git] / api / v3 / GroupNesting.php
index 4fe076c6f37df909a85d2d64a709831fc9974f60..457f2ecef66d9474779027835ab76e110a148201 100644 (file)
@@ -2,7 +2,7 @@
 
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
 /**
  * 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) {
 
@@ -54,9 +56,11 @@ 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.
  */
@@ -73,7 +77,8 @@ function civicrm_api3_group_nesting_create($params) {
  * 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;
@@ -83,10 +88,12 @@ function _civicrm_api3_group_nesting_create_spec(&$params) {
 /**
  * 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.
  */