3 namespace SimpleExcel\Parser;
42 $this->
loadString(file_get_contents($file_path));
51 $this->table_arr = array();
53 if(!isset($this->delimiter)){
56 while(($line = str_getcsv($str,
';')) !== FALSE){
57 if($numofcols === NULL){
58 $numofcols = count($line);
61 if(count($line) === $numofcols){
62 array_push($this->table_arr, $line);
66 $this->table_arr = array();
72 if($numofcols === NULL){
73 while(($line = str_getcsv($str,
',')) !== FALSE){
74 array_push($this->table_arr, $line);
78 while(($line = str_getcsv($str, $this->delimiter)) !== FALSE){
79 array_push($this->table_arr, $line);