Beispiel #1
0
 function __construct()
 {
     $this->_subfolder = 'css' . DIRECTORY_SEPARATOR;
     parent::__construct();
     $this->_filetype = 'css';
     $this->_gzip = getNextend('gzip', 0);
 }
Beispiel #2
0
 function __construct()
 {
     $this->_subfolder = 'less' . DIRECTORY_SEPARATOR;
     parent::__construct();
     $this->_filetype = 'css';
     $this->_less = new nlessc();
     $this->_less->addImportDir(NEXTENDLIBRARYASSETS . DIRECTORY_SEPARATOR . 'less' . DIRECTORY_SEPARATOR);
     $this->_image = new NextendImage();
     $this->_image->loadLess($this);
     $this->_image_cacheTime = $this->_cacheTime;
     $this->_context = array();
 }
Beispiel #3
0
 function __construct()
 {
     $this->_subfolder = 'image' . DIRECTORY_SEPARATOR;
     parent::__construct();
     $this->_filetype = 'png';
     if ($this->_cacheTime == 'static' || $this->_cacheTime == 0) {
         $this->_folder = $this->_path . 'static' . DIRECTORY_SEPARATOR;
         $currentcachetime = 0;
     } else {
         $time = time();
         $currentcachetime = $time - $time % $this->_cacheTime;
         $this->_folder = $this->_path . $this->_prename . $currentcachetime . DIRECTORY_SEPARATOR;
     }
     $this->createCacheSubFolder($this->_folder, $currentcachetime);
 }