function NextendCacheCss() { $this->_subfolder = 'css' . DIRECTORY_SEPARATOR; parent::NextendCache(); $this->_filetype = 'css'; $this->_gzip = getNextend('gzip', 0); }
function NextendCacheJavascript() { $this->_subfolder = 'js' . DIRECTORY_SEPARATOR; parent::NextendCache(); $this->_filetype = 'js'; $this->_inline = ''; $this->_gzip = getNextend('gzip', 0); }
function NextendImage() { $this->_subfolder = 'image' . DIRECTORY_SEPARATOR; parent::NextendCache(); $this->_filetype = 'png'; $time = time(); $currentcachetime = $time - $time % $this->_cacheTime; $this->_folder = $this->_path . $this->_prename . $currentcachetime . DIRECTORY_SEPARATOR; $this->createCacheSubFolder($this->_folder, $currentcachetime); }
function NextendCacheLess() { $this->_subfolder = 'less' . DIRECTORY_SEPARATOR; parent::NextendCache(); $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(); }
function NextendCacheImage() { $this->_subfolder = 'image' . DIRECTORY_SEPARATOR; $this->backgrouncolor = array(0, 0, 0); parent::NextendCache(); 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); }