TemplatesModelTemplate::copyFile
Copy a file.
Signature
public function copyFile(string
$newName,
string
$location,
string
$fileĀ )
Parameters
-
$newName
- The name of the copied file
-
$location
- The final location where the file is to be copied
-
$file
- The name and location of the file
Returns
- boolean
- true if image resize successful, false otherwise.