Class FileUtil
File utility class for dealing with files.
public static
string
|
+/-
fileToString( string $filename )
Reads the contents of the specified file and returns it as a string. |
public static
mixed
|
+/-
writeStringToFile( string $string, string $filename, boolean $append = false )
Writes the specified string to the specified file. |
public static
mixed
|
+/-
appendStringToFile( string $string, string $filename )
Appends the specified string to the specified file. |
public static
|
|
public static
|
+/-
setErrorHandler(
Sets the error handler used for methods in this class. |