Smarty Internal Write File Class

package Smarty
subpackage PluginsInternal

 Methods

Writes file in a safe way to disk

writeFile(string $_filepath, string $_contents, \Smarty $smarty) : boolean
Static

Parameters

$_filepath

string

complete filepath

$_contents

string

file content

$smarty

\Smarty

smarty instance

Returns

booleantrue