Lines Matching defs:files
70 // Array of needed files and their web locations, the latter ones
74 $files = [];
77 $files[DOKU_INC . 'lib/styles/' . $mediatype . '.css'] = DOKU_BASE . 'lib/styles/';
81 $files[DOKU_INC . 'lib/scripts/jquery/jquery-ui-theme/smoothness.css'] =
85 $files = array_merge($files, css_pluginstyles($mediatype));
88 $files = array_merge($files, $styleini['stylesheets'][$mediatype]);
93 $files[$userstyle] = DOKU_BASE;
98 $media_files[$mediatype] = css_filewrapper($mediatype, $files);
103 $cache_files = array_merge($cache_files, array_keys($media_files[$mediatype]['files']));
128 $cache_ok = $cache->useCache(['files' => $cache_files]);
156 // load files
157 foreach ($cssData['files'] as $file => $location) {
243 $error = 'A fatal error occured during compilation of the CSS files. ' .
296 * Wrapper for the files, content and mediatype for the event CSS_STYLES_INCLUDED
298 * @param string $mediatype type ofthe current media files/content set
299 * @param array $files set of files that define the current mediatype
304 function css_filewrapper($mediatype, $files = [])
307 'files' => $files,
419 * Helper class to abstract loading of css/less files
436 * relative to the dokuwiki root: the web root (DOKU_BASE) for most files; the file system root (DOKU_INC)
437 * for less files.
468 // during testing, files may be found relative to a second base dir, TMP_DIR