Class quickfile

Description

This is a derived class from outputfile and is a quick way of creating a file with content in a single hit. You can check the $created property afterwards to determine success/failure.

Located in /file-defs.php (line 633)

outputfile
   |
   --quickfile
Variable Summary
 mixed $created
Method Summary
 quickfile quickfile ($path $path, [$content $content = ""])
Variables
Methods
Constructor quickfile (line 641)

Creates a file containing given content quickly.

quickfile quickfile ($path $path, [$content $content = ""])
  • $path $path: Path to file to create
  • $content $content: Optional content to put in the file

Inherited Methods

Inherited From outputfile

 outputfile::outputfile()
 outputfile::closefile()
 outputfile::flushbuffer()
 outputfile::replace()
 outputfile::template()
 outputfile::type()
 outputfile::write()
 outputfile::writeln()

Documentation generated by phpDocumentor 1.3.0RC3