コード例 #1
0
ファイル: VideoGallery.php プロジェクト: blindest/Yii-CMS-2.0
 public function init()
 {
     if ($this->sortableEnable) {
         $this->attachBehavior('sortable', $this->sortableOptions);
     }
     parent::init();
     $this->registerScripts();
 }
コード例 #2
0
ファイル: ImageGallery.php プロジェクト: blindest/Yii-CMS-2.0
 public function run()
 {
     $widget = $this->widget('comments.portlets.CommentsPortlet', array('model' => false, 'is_hidden' => true));
     $this->registerScripts($widget->getId());
     parent::run();
 }
コード例 #3
0
ファイル: FileList.php プロジェクト: blindest/Yii-CMS-2.0
 public function init()
 {
     parent::init();
     $this->cssFile = $this->assets . '/css/filesList.css';
 }