\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 : 

Type

$tempFileName

$tempFileName : string

Temporary filename.

Type

string

Methods

__construct()

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

Create a new XMLWriter instance.

Parameters

integer $pTemporaryStorage

Temporary storage location

string $pTemporaryStorageFolder

Temporary storage folder

__destruct()

__destruct() 

Destructor.

getData()

getData() : string

Get written data.

Returns

string

writeRawData()

writeRawData(string|array<mixed,string>  $text) : boolean

Wrapper method for writeRaw.

Parameters

string|array<mixed,string> $text

Returns

boolean