class PHPExcel_Shared_XMLWriter extends XMLWriter

PHPExcelSharedXMLWriter

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Constants

STORAGE_MEMORY

Temporary storage method

STORAGE_DISK

Methods

__construct(int $pTemporaryStorage = self::STORAGE_MEMORY, string $pTemporaryStorageFolder = null)

Create a new PHPExcelSharedXMLWriter instance

__destruct()

Destructor

$data
getData()

Get written data

string
writeRawData(string $text)

Fallback method for writeRaw, introduced in PHP 5.2

Details

at line 64
__construct(int $pTemporaryStorage = self::STORAGE_MEMORY, string $pTemporaryStorageFolder = null)

Create a new PHPExcelSharedXMLWriter instance

Parameters

int $pTemporaryStorage Temporary storage location
string $pTemporaryStorageFolder Temporary storage folder

at line 92
__destruct()

Destructor

at line 105
$data getData()

Get written data

Return Value

$data

at line 121
string writeRawData(string $text)

Fallback method for writeRaw, introduced in PHP 5.2

Parameters

string $text

Return Value

string