Class quickfile_read

Description

This is a derived class from inputfile and is a quick way of grabbing all content of a file in a single hit. The resulting string is available as the class 'content' variable, and the variable 'readok' indicates whether the read was a success. File is read, then immediately closed.

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

inputfile
   |
   --quickfile_read
Variable Summary
 mixed $readok
Method Summary
 quickfile_read quickfile_read ($path $path)
Variables
mixed $readok = false (line 690)

True if file was read in successfully

Inherited Variables

Inherited from inputfile

inputfile::$content
inputfile::$datafname
inputfile::$dir
inputfile::$filesize
inputfile::$fp
inputfile::$name
inputfile::$opened
Methods
Constructor quickfile_read (line 693)
quickfile_read quickfile_read ($path $path)
  • $path $path: Path to file to read

Inherited Methods

Inherited From inputfile

 inputfile::inputfile()
 inputfile::closefile()
 inputfile::eof()
 inputfile::openfile()
 inputfile::readall()
 inputfile::readln()

Documentation generated by phpDocumentor 1.3.0RC3