constructParser() публичный Метод

Construct a SimpleExcel Parser
public constructParser ( string $filetype )
$filetype string Set the filetype of the file which will be parsed (XML/CSV/TSV/HTML/JSON)
Пример #1
0
 public function testConstruct()
 {
     $excel = new SimpleExcel('CSV');
     $excel2 = new SimpleExcel();
     $excel2->constructParser('CSV');
     $this->assertEquals($excel->parser, $excel2->parser);
     return $excel;
 }