Lines Matching refs:path
25 $path=$base.$subdirectory;
26 if (is_file($path)){
27 if ($fileFunc!==null) $fileFunc($path);
29 if ($dirFunc!==null) $dirFunc($path);
31 traverseDirTree($path.'/',$fileFunc,$dirFunc,$afterDirFunc);
33 if ($afterDirFunc!==null) $afterDirFunc($path);
40 function get_namespace($path) { argument
42 $namespace_string = trim($path, '/');
49 function outputPath($path){ argument
52 $name = basename($path);
55 if(is_dir($path)){
56 $htmlokay_directories[$path] = array();
57 $htmlokay_directories[$path]['name'] = $name;
58 $htmlokay_directories[$path]['namespace'] = get_namespace($path);
59 $htmlokay_directories[$path]['files'] = array();
61 elseif(is_file($path)){
62 $dir = dirname($path);