Property | Type | Description | |
---|---|---|---|
$parser | CSVParser | TSVParser | XMLParser | HTMLParser | JSONParser | | TSVParser | XMLParser | HTMLParser | JSONParser | |
$writer | CSVWriter | TSVWriter | XMLWriter | HTMLWriter | JSONWriter | | TSVWriter | XMLWriter | HTMLWriter | JSONWriter |
Property | Type | Description | |
---|---|---|---|
$validParserTypes | array | ||
$validWriterTypes |
Method | Description | |
---|---|---|
__construct ( string $filetype = 'XML' ) : void | SimpleExcel constructor method | |
constructParser ( string $filetype ) | Construct a SimpleExcel Parser | |
constructWriter ( string $filetype ) : boolean | Construct a SimpleExcel Writer | |
convertTo ( string $filetype ) | Change writer type to convert to another format |
public __construct ( string $filetype = 'XML' ) : void | ||
$filetype | string | Set the filetype of the file which will be parsed (XML/CSV/TSV/HTML/JSON) |
return | void |
public constructParser ( string $filetype ) | ||
$filetype | string | Set the filetype of the file which will be parsed (XML/CSV/TSV/HTML/JSON) |
public constructWriter ( string $filetype ) : boolean | ||
$filetype | string | Set the filetype of the file which will be written (XML/CSV/TSV/HTML/JSON) |
return | boolean |
public CSVParser|TSVParser|XMLParser|HTMLParser|JSONParser $parser | ||
return | CSVParser | TSVParser | XMLParser | HTMLParser | JSONParser |