Lines Matching defs:path
19 * $data[0] ns: The colon separated namespace path minus the trailing page name.
60 * The file path should not be changed.
64 * $data[1] ns: The colon separated namespace path minus the trailing page name. (false if root ns)
191 * The file path should not be changed.
196 * $data[1] ns: The colon separated namespace path minus the trailing page name. (false if root ns)
245 * @param string $file filename path to file
297 * @param string $file filename path to file
477 * $data[0] ns: The colon separated namespace path minus the trailing page name.
563 * @param string $path
569 function io_rmdir($path, $removefiles = false)
571 if (!is_string($path) || $path == "") return false;
572 if (!file_exists($path)) return true; // it's already gone or was never there, count as success
574 if (is_dir($path) && !is_link($path)) {
577 if (!$dh = @opendir($path)) return false;
582 if (is_dir("$path/$f") && !is_link("$path/$f")) {
583 $dirs[] = "$path/$f";
585 $files[] = "$path/$f";
600 return @rmdir($path);
602 return @unlink($path);
609 * its path.
611 * @return false|string path to new directory or false
635 * - $file is the full filename to save the file, incl. path
643 * @param string $file path to file or directory where to save
645 * false: uses $file as path to file
799 * @param string $file filename path to file