XMLWriter
extends XMLWriter
in package
Table of Contents
Constants
- STORAGE_DISK = 2
- STORAGE_MEMORY = 1
- Temporary storage method
Properties
- $debugEnabled : bool
Methods
- __construct() : mixed
- Create a new XMLWriter instance.
- __destruct() : mixed
- Destructor.
- __unserialize() : void
- getData() : string
- Get written data.
- writeRawData() : bool
- Wrapper method for writeRaw.
Constants
STORAGE_DISK
public
mixed
STORAGE_DISK
= 2
STORAGE_MEMORY
Temporary storage method
public
mixed
STORAGE_MEMORY
= 1
Properties
$debugEnabled
public
static bool
$debugEnabled
= false
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
__unserialize()
public
__unserialize(array<string|int, mixed> $data) : void
Parameters
- $data : array<string|int, mixed>
getData()
Get written data.
public
getData() : string
Return values
stringwriteRawData()
Wrapper method for writeRaw.
public
writeRawData(null|string|array<string|int, string> $rawTextData) : bool
Parameters
- $rawTextData : null|string|array<string|int, string>