Documentation

PivotTableReader
in package

Reads a pivot table definition (and its associated cache definition) from the Xlsx parts into the read-only PivotTable object model.

This only extracts metadata (name, location, source and field layout); the raw pivot XML parts continue to be preserved verbatim for write-back, so loading a pivot table here never changes what is written out.

Table of Contents

Methods

__construct()  : mixed
load()  : void
Parse the pivot table definition and add it to the worksheet.

Methods

__construct()

public __construct(Worksheet $worksheet, SimpleXMLElement $pivotTableXml[, SimpleXMLElement|null $cacheDefinitionXml = null ]) : mixed
Parameters
$worksheet : Worksheet
$pivotTableXml : SimpleXMLElement
$cacheDefinitionXml : SimpleXMLElement|null = null

load()

Parse the pivot table definition and add it to the worksheet.

public load() : void

        
On this page

Search results