\Vegas\UtilFileWriter

Simple File Writer

Class FileWriter

Summary

Methods
Properties
Constants
write()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

write()

write( $filePath,  $newContent, boolean $compareContents) : integer

Writes string content to a file

Parameters

$filePath
$newContent
boolean $compareContents

Determines if new content should be compared with the

                             current file content. When contents are the same, then
                             new content will not be written to the file.

Returns

integer —

Number of bytes that were written to the file