Beispiel #1
0
	function POMO_CachedFileReader($filename) {
		parent::POMO_StringReader();
		$this->_str = file_get_contents($filename);
		if (false === $this->_str)
			return false;
		$this->_pos = 0;
	}
 /**
  * PHP5 constructor.
  */
 function __construct($filename)
 {
     parent::POMO_StringReader();
     $this->_str = file_get_contents($filename);
     if (false === $this->_str) {
         return false;
     }
     $this->_pos = 0;
 }
Beispiel #3
0
 public function __construct($filename)
 {
     parent::__construct();
     $this->_str = file_get_contents($filename);
     if (false === $this->_str) {
         return false;
     }
     $this->_pos = 0;
 }