H A D | search.php | 18 * and calls the supplied function for each file and directory 44 while (($file = readdir($dh)) !== false) { 45 if (preg_match('/^[\._]/', $file)) continue; //skip hidden files and upper dirs 46 if (is_dir($base . '/' . $dir . '/' . $file)) { 47 $dirs[] = $dir . '/' . $file; 50 $files[] = $dir . '/' . $file; 51 $filepaths[] = $base . '/' . $dir . '/' . $file; 70 foreach ($files as $file) { 71 call_user_func_array($func, [&$data, $base, $file, 'f', $lvl, $opts]); 77 * function above. This function is called for every found file o 108 search_qsearch(& $data, $base, $file, $type, $lvl, $opts) global() argument 133 search_index(& $data, $base, $file, $type, $lvl, $opts) global() argument 162 search_namespaces(& $data, $base, $file, $type, $lvl, $opts) global() argument 188 search_media(& $data, $base, $file, $type, $lvl, $opts) global() argument 255 search_mediafiles(& $data, $base, $file, $type, $lvl, $opts) global() argument 302 search_list(& $data, $base, $file, $type, $lvl, $opts) global() argument 333 search_pagename(& $data, $base, $file, $type, $lvl, $opts) global() argument 371 search_allpages(& $data, $base, $file, $type, $lvl, $opts) global() argument 487 search_universal(& $data, $base, $file, $type, $lvl, $opts) global() argument [all...] |