Static Public Member Functions | |
static | convertLineEndings ($dir, $ignore, $from="\r\n", $to="\n") |
Recursively walks through $dir and converts line endings of all but listed in $ignore files. | |
static | makeTempFile ($where= 'file-utils/', $prefix= '', $mkdirMode=0700) |
static | makeTempDirectory ($where= 'file-utils/', $prefix= '', $mode=0700) |
static | makeUniqueName ($fileName) |
static | removeDirectory ($directory, $recursive=false) |
static | upload ($source, $target) |
static | move ($source, $target) |
static | unlink ($filePath) |
Definition at line 18 of file FileUtils.class.php.
static FileUtils::convertLineEndings | ( | $ | dir, | |
$ | ignore, | |||
$ | from = "\r\n" , |
|||
$ | to = "\n" | |||
) | [static] |
Recursively walks through $dir and converts line endings of all but listed in $ignore files.
Definition at line 24 of file FileUtils.class.php.
static FileUtils::makeTempFile | ( | $ | where = 'file-utils/' , |
|
$ | prefix = '' , |
|||
$ | mkdirMode = 0700 | |||
) | [static] |
static FileUtils::makeTempDirectory | ( | $ | where = 'file-utils/' , |
|
$ | prefix = '' , |
|||
$ | mode = 0700 | |||
) | [static] |
static FileUtils::makeUniqueName | ( | $ | fileName | ) | [static] |
Definition at line 118 of file FileUtils.class.php.
static FileUtils::removeDirectory | ( | $ | directory, | |
$ | recursive = false | |||
) | [static] |
Definition at line 128 of file FileUtils.class.php.
References unlink().
Referenced by TempDirectory::__destruct(), RubberFileSystem::clean(), and FileSystemSegmentHandler::drop().
static FileUtils::upload | ( | $ | source, | |
$ | target | |||
) | [static] |
Definition at line 168 of file FileUtils.class.php.
static FileUtils::move | ( | $ | source, | |
$ | target | |||
) | [static] |
Definition at line 181 of file FileUtils.class.php.
static FileUtils::unlink | ( | $ | filePath | ) | [static] |