Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
CommentsBaseWidget.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  * Base class for all module widgets
11  */
13 {
14  /**
15  * @var id string of content.
16  */
17  public $contentId;
18 
19  /**
20  * @var bool if widget is in preview mode
21  */
22  public $isPreview = false;
23 
24  /**
25  * Register widget css js
26  *
27  * @return void
28  */
29  public function init()
30  {
31  parent::init();
32  //Yii::app()->clientScript->registerCssFile(Yii::app()->getModule('comments')->getAssetsUrl() . '/css/comments.css');
33  }
34 
35 }
36 
37 ?>