Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
AssignAttributesWidget.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  public $userId;
14 
15  public $enableEditing = false;
16 
17  public function init()
18  {
19  parent::init();
20  $assetsUrl = $this->getModule()->getAssetsUrl();
21  Yii::app()->clientScript->registerScriptFile($assetsUrl . '/js/dhtmlTreeUserAssignment.js');
22  }
23 
24  public function run()
25  {
26  $this->render('AssignAttributesWidget');
27  }
28 }