Пример #1
0
 /**
  * Construct
  * @param IComponentContainer parent
  * @param string name
  */
 public function __construct(IContainer $parent = null, $name = null, $wwwDir, $basePath)
 {
     parent::__construct($parent, $name);
     $this->setGeneratedFileNamePrefix("cssloader-");
     $this->setGeneratedFileNameSuffix(".css");
     $this->fileFilters[] = new Filters\CssUrlsFilter($wwwDir, $basePath);
 }
Пример #2
0
 /**
  * Construct
  * @param IContainer parent
  * @param string name
  */
 public function __construct(IContainer $parent = null, $name = null)
 {
     parent::__construct($parent, $name);
     $this->setGeneratedFileNamePrefix("jsloader-");
     $this->setGeneratedFileNameSuffix(".js");
 }