Lines Matching defs:path
20 * $data[0] ns: The colon separated namespace path minus the trailing page name.
61 * The file path should not be changed.
65 * $data[1] ns: The colon separated namespace path minus the trailing page name. (false if root ns)
192 * The file path should not be changed.
197 * $data[1] ns: The colon separated namespace path minus the trailing page name. (false if root ns)
246 * @param string $file filename path to file
298 * @param string $file filename path to file
478 * $data[0] ns: The colon separated namespace path minus the trailing page name.
564 * @param string $path
570 function io_rmdir($path, $removefiles = false)
572 if (!is_string($path) || $path == "") return false;
573 if (!file_exists($path)) return true; // it's already gone or was never there, count as success
575 if (is_dir($path) && !is_link($path)) {
578 if (!$dh = @opendir($path)) return false;
583 if (is_dir("$path/$f") && !is_link("$path/$f")) {
584 $dirs[] = "$path/$f";
586 $files[] = "$path/$f";
601 return @rmdir($path);
603 return @unlink($path);
610 * its path.
612 * @return false|string path to new directory or false
636 * - $file is the full filename to save the file, incl. path
644 * @param string $file path to file or directory where to save
646 * false: uses $file as path to file
800 * @param string $file filename path to file