public function registerGalleryScriptFiles()
    {
        /* publish assets dir */
        $path = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'assets';
        $assetsUrl = $this->getAssetsUrl($path);

        /* @var $cs CClientScript */
        $cs = Yii::app()->getClientScript();

        $cs->registerScriptFile($assetsUrl . '/js/blueimp-gallery.min.js', CClientScript::POS_END);
        $cs->registerScriptFile($assetsUrl . '/js/blueimp-gallery-indicator.js', CClientScript::POS_END);
        $cs->registerCssFile($assetsUrl . '/css/blueimp-gallery.min.css');
    }
public function registerGalleryScriptFiles()
    {
        /* publish assets dir */
        $path = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'assets';
        $assetsUrl = $this->getAssetsUrl($path);

        /* @var $cs CClientScript */
        $cs = Yii::app()->getClientScript();

        $cs->registerScriptFile($assetsUrl . '/js/blueimp-gallery.min.js', CClientScript::POS_END);
        $cs->registerScriptFile($assetsUrl . '/js/blueimp-gallery-indicator.js', CClientScript::POS_END);
        $cs->registerCssFile($assetsUrl . '/css/blueimp-gallery.min.css');
    }
public function registerGalleryScriptFiles ( ) { /* publish assets dir */ $ path = dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . 'assets' ; $ assetsUrl = $ this -> getAssetsUrl ( $ path ) ; /* @var $cs CClientScript */ $ cs = Yii :: app ( ) -> getClientScript ( ) ; $ cs -> registerScriptFile ( $ assetsUrl . '/js/blueimp-gallery.min.js' , CClientScript :: POS_END ) ; $ cs -> registerScriptFile ( $ assetsUrl . '/js/blueimp-gallery-indicator.js' , CClientScript :: POS_END ) ; $ cs -> registerCssFile ( $ assetsUrl . '/css/blueimp-gallery.min.css' ) ; }
Registers gallery script files
Registers gallery script files