Merge pull request #4621 from atif-shaikh/CRM-15589
[civicrm-core.git] / CRM / Utils / Tree.php
index 8fbab2f149d6a96d8e069783c8724c9a45adc745..eaae076c0096a7387ab66be0ff2c6e55c5adb22a 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
@@ -73,7 +73,7 @@
  *
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id: $
  *
  */
@@ -88,12 +88,12 @@ class CRM_Utils_Tree {
   /**
    * Constructor for the tree.
    *
-   * @param string $root
+   * @param $nodeName
+   *
+   * @internal param string $rootNode
    *
    * @return CRM_Utils_Tree
-
    * @access public
-   *
    */
   public function __construct($nodeName) {
     // create the root node
@@ -145,7 +145,7 @@ class CRM_Utils_Tree {
   }
 
   /**
-   * Function to check if node is a leaf node.
+   * check if node is a leaf node.
    * Currently leaf nodes are strings and non-leaf nodes are arrays
    *
    * @param array(