TemplatesModelTemplate::createFile
Create new file.
Signature
public function createFile(string
$name,
string
$type,
string
$location )
Parameters
-
$name
- The name of file.
-
$type
- The extension of the file.
-
$location
- Location for the new file.
Returns
- boolean
- true if file created successfully, false otherwise