Method |
Description |
|
__clone ( ) |
Prevent cloning of the object (Singleton) |
|
chmod ( string $strFile, mixed $varMode ) : boolean |
Change the file mode |
|
copy ( string $strSource, string $strDestination ) : boolean |
Copy a file or folder |
|
delete ( string $strFile ) : boolean |
Delete a file |
|
fclose ( resource $resFile ) : boolean |
Close a file handle |
|
fopen ( string $strFile, string $strMode ) : resource |
Open a file and return the handle |
|
fputs ( resource $resFile, string $strContent ) |
Write content to a file |
|
getInstance ( ) : Files |
Instantiate the object (Factory) |
|
is_writeable ( string $strFile ) : boolean |
Check whether a file is writeable |
|
mkdir ( string $strDirectory ) : boolean |
Create a directory |
|
move_uploaded_file ( string $strSource, string $strDestination ) : boolean |
Move an uploaded file to a folder |
|
rcopy ( string $strSource, string $strDestination ) |
Recursively copy a directory |
|
rename ( string $strOldName, string $strNewName ) : boolean |
Rename a file or folder |
|
rmdir ( string $strDirectory ) : boolean |
Remove a directory |
|
rrdir ( string $strFolder, boolean $blnPreserveRoot = false ) |
Recursively remove a directory |
|