Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
PersonalisationAttributeHelper.php
1 <?php
2 /**
3  * Gentics Portal.Node PHP
4  * Author & Copyright (c) by Gentics Software GmbH
5  * sales@gentics.com
6  * http://www.gentics.com
7  * Licenses can be found in the LICENSE.txt file in the root-folder of this installation
8  * You must not use this software without a valid license agreement.
9  *
10  */
12 {
13 
14  /**
15  * Return tree in format for javascript tree plugin
16  *
17  * @static
18  * @return array
19  */
20  public static function getTreeJs()
21  {
23  return $tree['item'];
24  }
25 
26  /**
27  * Return tree in format for javascript tree plugin
28  *
29  * @param integer $userId id of user
30  *
31  * @return array
32  */
33  public static function getTreeWithUserStateJs($userId)
34  {
36  return $tree['item'];
37  }
38 }