/**
  * Initialisation method called by Yii when the component is loaded.
  *
  * Cleanup the {@see EGalleryBase::$path gallery path} and check that it's valid.
  * Publish images and CSS.
  */
 public function init()
 {
     parent::setup();
     $cs = Yii::app()->clientScript;
     $am = Yii::app()->getAssetManager();
     $this->_cssFile = $am->publish($this->generateCSS(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'css', 'galleryManager'));
     $cs->registerCssFile($this->_cssFile);
 }
 /**
  * Initialisation method called by Yii when the component is loaded.
  *
  * Cleanup the {@see $this->path gallery path} and check that it's valid.
  * Publish images and CSS.
  */
 public function init()
 {
     parent::setup();
 }