Overview

Namespaces

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

Classes

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

Interfaces

  • IWriter
  • Overview
  • Namespace
  • Class
  • Tree

Class BaseWriter

SimpleExcel base class for writing spreadsheet

SimpleExcel\Writer\BaseWriter implements SimpleExcel\Writer\IWriter

Direct known subclasses

SimpleExcel\Writer\CSVWriter, SimpleExcel\Writer\HTMLWriter, SimpleExcel\Writer\JSONWriter, SimpleExcel\Writer\XLSXWriter, SimpleExcel\Writer\XMLWriter

Indirect known subclasses

SimpleExcel\Writer\TSVWriter
Abstract
Namespace: SimpleExcel\Writer
Package: SimpleExcel
Author: Faisalman
Located at Writer/BaseWriter.php
Methods summary
public
# __construct( SimpleExcel\Spreadsheet\Workbook & $workbook )

Parameters

$workbook
SimpleExcel\Spreadsheet\Workbook
reference to workbook
public
# exportFile( string $target, array $options = NULL )

Parameters

$target
string
$target File pointer
$options
array
$options Options

Implementation of

SimpleExcel\Writer\IWriter::exportFile()
public string
# toString( mixed $options = NULL )

Returns

string

Implementation of

SimpleExcel\Writer\IWriter::toString()
Properties summary
protected SimpleExcel\Spreadsheet\Workbook $workbook
#

Holds the workbook instance

Holds the workbook instance

protected string $content_type 'text'
#

Defines content-type for HTTP header

Defines content-type for HTTP header

protected string $file_extension 'txt'
#

Defines file extension to be used when saving file

Defines file extension to be used when saving file

API documentation generated by ApiGen 2.8.0