/** * Test for non existing file * * @return void */ public function testForNonExistingFile() { $file = new FileReader('./path/for/no/file.txt'); $this->assertFalse($file->FileReader('./path/for/no/file.txt')); }
/** * Constructor of the class * * @param String $path2File path of the ldif file to read * @param boolean $continuous_mode 1 if continuous mode operation, 0 otherwise */ function LdifReader($path2File, $continuous_mode = 0) { parent::FileReader($path2File); $this->continuous_mode = $continuous_mode; $this->_LdifReader(); }