STORAGE_MEMORY
STORAGE_MEMORY = 1
Temporary storage method
XMLWriter
__construct(integer $pTemporaryStorage = self::STORAGE_MEMORY, string $pTemporaryStorageDir = null, $compatibility = false)
Create a new \PhpOffice\PhpPowerpoint\Shared\XMLWriter instance
integer | $pTemporaryStorage | Temporary storage location |
string | $pTemporaryStorageDir | Temporary storage folder |
$compatibility |
writeElementBlock(string $element, string|array $attributes, string $value = null) : void
Write simple element and attribute(s) block
There are two options:
$attributes
is an array, then it's an associative array of attributesstring | $element | |
string|array | $attributes | |
string | $value |