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