class XMLWriter extends XMLWriter (View source)

Constants

STORAGE_MEMORY

Temporary storage method

STORAGE_DISK

Properties

static $debugEnabled

Methods

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

Create a new XMLWriter instance.

__destruct()

Destructor.

string
getData()

Get written data.

bool
writeRawData(string|string[] $text)

Wrapper method for writeRaw.

Details

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

Create a new XMLWriter instance.

Parameters

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

__destruct()

Destructor.

string getData()

Get written data.

Return Value

string

bool writeRawData(string|string[] $text)

Wrapper method for writeRaw.

Parameters

string|string[] $text

Return Value

bool