Event-related profiles can be created & edited with either 'administer CiviCRM' OR...
[civicrm-core.git] / CRM / Utils / Tree.php
index 99985ce454e85d310dd2923efab3703d76eb3b44..d5a842ae80b5d06fb994b9715f79a4ade0367855 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
  * $Id$
  *
  */
  *
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
  * $Id: $
  *
  */
 class CRM_Utils_Tree {
 
   /**
-   * Store the tree information as a string or array
+   * Store the tree information as a string or array.
    * @var string|array
    */
   private $tree;
@@ -103,7 +103,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * Find a node that matches the given string
+   * Find a node that matches the given string.
    *
    * @param string $name
    *   Name of the node we are searching for.
@@ -153,7 +153,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * Create a node
+   * Create a node.
    *
    * @param string $name
    *
@@ -169,7 +169,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * Add node
+   * Add node.
    *
    * @param string $parentName
    *   Name of the parent ?.
@@ -185,7 +185,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * Add Data
+   * Add Data.
    *
    * @param string $parentName Name of the parent ?.
    * @param string $childName - key to be used (optional)
@@ -206,7 +206,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * Get Tree
+   * Get Tree.
    *
    * @return tree
    */
@@ -215,7 +215,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * Print the tree
+   * Print the tree.
    *
    * @return void
    */