POMO_CachedFileReader

Reads the contents of the file in the beginning.

Defined (1)

The class is defined in the following location(s).

/bp-forums/bbpress/bb-includes/backpress/pomo/streams.php  
  1. class POMO_CachedFileReader extends POMO_StringReader { 
  2. function POMO_CachedFileReader($filename) { 
  3. parent::POMO_StringReader(); 
  4. $this->_str = file_get_contents($filename); 
  5. if (false === $this->_str) 
  6. return false; 
  7. $this->_pos = 0;