\PhpOffice\PhpSpreadsheet\SharedXMLWriter

Summary

Methods
Properties
Constants
__construct()
__destruct()
getData()
writeRawData()
$debugEnabled
STORAGE_MEMORY
STORAGE_DISK
No protected methods found
No protected properties found
N/A
No private methods found
$tempFileName
N/A

Constants

STORAGE_MEMORY

STORAGE_MEMORY = 1

Temporary storage method

STORAGE_DISK

STORAGE_DISK = 2

Properties

$debugEnabled

$debugEnabled

$tempFileName

$tempFileName : string

Temporary filename.

Type

string

Methods

__construct()

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

Create a new XMLWriter instance.

Parameters

int $pTemporaryStorage

Temporary storage location

string $pTemporaryStorageFolder

Temporary storage folder

Returns

mixed —

__destruct()

__destruct() : mixed

Destructor.

Returns

mixed —

getData()

getData() : string

Get written data.

Returns

string —

writeRawData()

writeRawData(string|string[]  $text) : bool

Wrapper method for writeRaw.

Parameters

string|string[] $text

Returns

bool —