Example #1
0
 public function init()
 {
     if ($this->sortableEnable) {
         $this->attachBehavior('sortable', $this->sortableOptions);
     }
     parent::init();
     $this->registerScripts();
 }
Example #2
0
 public function run()
 {
     $widget = $this->widget('comments.portlets.CommentsPortlet', array('model' => false, 'is_hidden' => true));
     $this->registerScripts($widget->getId());
     parent::run();
 }
Example #3
0
 public function init()
 {
     parent::init();
     $this->cssFile = $this->assets . '/css/filesList.css';
 }