Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

New API for non-XML exports

Choose a tag to compare

@zozlak zozlak released this 02 Jan 19:24

A previously existing CSV export has been generalized to a tabular export with a JSON implementation added:

  • acdhOeaw\tokeneditorModel\Token::exportCsv() dropped in favour of a generic asArray() method with actual output formatting left out to the external formatter classes
  • acdhOeaw\tokeneditorModel\Document::exportCsv() replaced by the exportTabular() method
  • acdhOeaw\tokeneditorModel\ExportTableInterface added as a common interface for non-XML outputs
  • acdhOeaw\tokeneditorModel\ExportCsv and acdhOeaw\tokeneditorModel\ExportJson provided for CSV and JSON exports