H A D | search.php | 17 * This function recurses into a given base directory 21 * @param string $base Where to start the search 24 * @param string $dir Current directory beyond $base 30 function search(&$data, $base, $func, $opts, $dir = '', $lvl = 1, $sort = 'natural') 37 if ($base == '' || $base == '/') { 38 throw new RuntimeException('No valid $base passed to search() - possible misconfiguration or bug'); 42 $dh = @opendir($base . '/' . $dir); 46 if (is_dir($base . '/' . $dir . '/' . $file)) { 51 $filepaths[] = $base 27 search(& $data, $base, $func, $opts, $dir = '', $lvl = 1, $sort = 'natural') global() argument 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...] |