This is a helper class to output files via the MVC architecture.

It allows outputting of large data via readfile(). Note that the file can be read as a string if needed and the file contents will be cached.

 Methods

__construct()

__construct($fileName) 

Parameters

$fileName

__toString()

__toString() 

getContents()

getContents() 

getFileName()

getFileName() 

output()

output() 

 Properties

 

$_contents 
 

$_fileName