Lines Matching defs:file
29 * @param string $file file name
33 function mimetype($file, $knownonly = true)
36 $ext = strrpos($file, '.');
40 $ext = strtolower(substr($file, $ext + 1));
145 $lines = file(DOKU_INC . 'lib/scripts/jquery/versions');
189 $wordblocks = retrieveConfig('wordblock', 'file', null, 'array_merge_with_removal');
203 $schemes = retrieveConfig('scheme', 'file', null, 'array_merge_with_removal');
261 * @param string $file
266 function confToHash($file, $lower = false)
269 $lines = @file($file);
276 * Read a json config file into an array
278 * @param string $file
282 function jsonToArray($file)
284 $json = file_get_contents($file);
301 * @param callback $fn the function used to process the configuration file into an array
306 * $new - array of config values from the config cascade file being currently processed
320 foreach ($config_cascade[$type][$config_group] as $file) {
321 if (file_exists($file)) {
322 $config = call_user_func_array($fn, array_merge([$file], $params));