FilesFile Utilities
Located in /plugins/ImageManager/Classes/Files.php (line 21)
string
copyFile
(string $source, string $destination_dir, string $destination_file, [boolean $unique = true])
copyFile (line 35)
Copy a file from source to destination. If unique == true, then if the destination exists, it will be renamed by appending an increamenting counting number.
createFolder (line 79)
Create a new folder.
delFile (line 102)
Delete a file.
delFolder (line 118)
Delete folder(s), can delete recursively.
escape (line 92)
Escape the filenames, any non-word characters will be replaced by an underscore.
fixPath (line 160)
Append a / to the path if required.
formatSize (line 204)
Format the file size, limits to Mb.
makeFile (line 189)
Similar to makePath, but the second parameter is not only a path, it may contain say a file ending.
makePath (line 174)
Concat two paths together. Basically $pathA+$pathB
Documentation generated on Sat, 31 Dec 2005 14:56:52 -0500 by phpDocumentor 1.3.0RC3