TableReader
in package
Table of Contents
Properties
- $tableAttributes : array<string|int, mixed>|SimpleXMLElement
- $tableXml : SimpleXMLElement
- $worksheet : Worksheet
Methods
- __construct() : mixed
- load() : void
- Loads Table into the Worksheet.
- readTable() : void
- Read Table from xml.
- readTableAutoFilter() : void
- Reads TableAutoFilter from xml.
- readTableColumns() : void
- Reads TableColumns from xml.
- readTableStyle() : void
- Reads TableStyle from xml.
Properties
$tableAttributes
private
array<string|int, mixed>|SimpleXMLElement
$tableAttributes
$tableXml
private
SimpleXMLElement
$tableXml
$worksheet
private
Worksheet
$worksheet
Methods
__construct()
public
__construct(Worksheet $workSheet, SimpleXMLElement $tableXml) : mixed
Parameters
- $workSheet : Worksheet
- $tableXml : SimpleXMLElement
load()
Loads Table into the Worksheet.
public
load() : void
readTable()
Read Table from xml.
private
readTable(string $tableRange) : void
Parameters
- $tableRange : string
readTableAutoFilter()
Reads TableAutoFilter from xml.
private
readTableAutoFilter(Table $table, SimpleXMLElement $autoFilterXml) : void
Parameters
- $table : Table
- $autoFilterXml : SimpleXMLElement
readTableColumns()
Reads TableColumns from xml.
private
readTableColumns(Table $table, SimpleXMLElement $tableColumnsXml) : void
Parameters
- $table : Table
- $tableColumnsXml : SimpleXMLElement
readTableStyle()
Reads TableStyle from xml.
private
readTableStyle(Table $table, SimpleXMLElement $tableStyleInfoXml) : void
Parameters
- $table : Table
- $tableStyleInfoXml : SimpleXMLElement