Documentation

XMLWriter extends XMLWriter
in package

Table of Contents

Constants

STORAGE_DISK  = 2
STORAGE_MEMORY  = 1
Temporary storage method

Properties

$debugEnabled  : bool
$tempFileName  : string
Temporary filename.

Methods

__construct()  : mixed
Create a new XMLWriter instance.
__destruct()  : mixed
Destructor.
__wakeup()  : void
getData()  : string
Get written data.
writeRawData()  : bool
Wrapper method for writeRaw.

Constants

STORAGE_MEMORY

Temporary storage method

public mixed STORAGE_MEMORY = 1

Properties

$debugEnabled

public static bool $debugEnabled = false

$tempFileName

Temporary filename.

private string $tempFileName = ''

Methods

__construct()

Create a new XMLWriter instance.

public __construct([int $temporaryStorage = self::STORAGE_MEMORY ][, string|null $temporaryStorageFolder = null ]) : mixed
Parameters
$temporaryStorage : int = self::STORAGE_MEMORY

Temporary storage location

$temporaryStorageFolder : string|null = null

Temporary storage folder

__destruct()

Destructor.

public __destruct() : mixed

getData()

Get written data.

public getData() : string
Return values
string

writeRawData()

Wrapper method for writeRaw.

public writeRawData(null|string|array<string|int, string> $rawTextData) : bool
Parameters
$rawTextData : null|string|array<string|int, string>
Return values
bool

        
On this page

Search results