Overview

Namespaces

  • PHP
  • SimpleExcel
    • Enums
    • Parser
    • Spreadsheet
    • Writer

Classes

  • BaseWriter
  • CSVWriter
  • HTMLWriter
  • JSONWriter
  • TSVWriter
  • XLSXWriter
  • XMLWriter

Interfaces

  • IWriter
  • Overview
  • Namespace
  • Class
  • Tree

Class JSONWriter

SimpleExcel class for writing table as JSON

SimpleExcel\Writer\BaseWriter implements SimpleExcel\Writer\IWriter
Extended by SimpleExcel\Writer\JSONWriter
Namespace: SimpleExcel\Writer
Package: SimpleExcel
Author: Faisalman
Located at Writer/JSONWriter.php
Methods summary
public string
# toString( array $options = NULL )

Get document content as string

Get document content as string

Parameters

$options
array
$options Options

Returns

string
Content of document

Overrides

SimpleExcel\Writer\BaseWriter::toString()
Methods inherited from SimpleExcel\Writer\BaseWriter
__construct(), exportFile()
Properties summary
protected string $content_type 'application/json'
#

Defines content-type for HTTP header

Defines content-type for HTTP header

protected string $file_extension 'json'
#

Defines file extension to be used when saving file

Defines file extension to be used when saving file

Properties inherited from SimpleExcel\Writer\BaseWriter
$workbook
API documentation generated by ApiGen 2.8.0