Methods summary
public static
|
#
createDir( $dir, $mode = 0777 )
Creates a directory.
Throws
|
public static
|
#
copy( $source, $dest, $overwrite = TRUE )
Copies a file or directory.
Copies a file or directory.
Throws
|
public static
|
#
delete( $path )
Deletes a file or directory.
Deletes a file or directory.
Throws
|
public static
|
#
rename( $name, $newName, $overwrite = TRUE )
Renames a file or directory.
Renames a file or directory.
Throws
|
public static
string
|
#
read( $file )
Reads file content.
Returns
string string
Throws
|
public static
|
#
write( $file, $content, $mode = 0666 )
Writes a string to a file.
Writes a string to a file.
Throws
|
public static
boolean
|
#
isAbsolute( $path )
Is path absolute?
Returns
boolean bool
|