Свойство | Type | Description | |
---|---|---|---|
$parser | CSVParser | TSVParser | XMLParser | HTMLParser | JSONParser | | TSVParser | XMLParser | HTMLParser | JSONParser | |
$writer | CSVWriter | TSVWriter | XMLWriter | HTMLWriter | JSONWriter | | TSVWriter | XMLWriter | HTMLWriter | JSONWriter |
Свойство | Type | Description | |
---|---|---|---|
$validParserTypes | array | ||
$validWriterTypes |
Méthode | 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) |
Résultat | 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) |
Résultat | boolean |
public CSVParser|TSVParser|XMLParser|HTMLParser|JSONParser $parser | ||
Résultat | CSVParser | TSVParser | XMLParser | HTMLParser | JSONParser |