Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
PhpOffice\PhpSpreadsheet\Shared\XMLWriter Class Reference

Public Member Functions

 __construct (int $temporaryStorage=self::STORAGE_MEMORY, ?string $temporaryStorageFolder=null)
 Create a new XMLWriter instance.
 
 __destruct ()
 Destructor.
 
 __wakeup ()
 
 getData ()
 Get written data.
 
 writeRawData ($rawTextData)
 Wrapper method for writeRaw.
 

Public Attributes

const STORAGE_DISK = 2
 
file home runner work phpdoc phpdoc moodle lib phpspreadsheet phpspreadsheet src PhpSpreadsheet Shared XMLWriter php const STORAGE_MEMORY = 1
 Temporary storage method.
 

Static Public Attributes

static bool $debugEnabled = false
 

Constructor & Destructor Documentation

◆ __construct()

PhpOffice\PhpSpreadsheet\Shared\XMLWriter::__construct ( int $temporaryStorage = self::STORAGE_MEMORY,
?string $temporaryStorageFolder = null )

Create a new XMLWriter instance.

Parameters
int$temporaryStorageTemporary storage location
?string$temporaryStorageFolderTemporary storage folder

Member Function Documentation

◆ writeRawData()

PhpOffice\PhpSpreadsheet\Shared\XMLWriter::writeRawData ( $rawTextData)

Wrapper method for writeRaw.

Parameters
null | string | string[]$rawTextData

The documentation for this class was generated from the following file: