Documentation

Serialized extends AbstractWriter
in package
implements WriterInterface

\PhpOffice\PhpPresentation\Writer\Serialized.

Table of Contents

Interfaces

WriterInterface
Writer interface.

Properties

$oDrawingHashTable  : HashTable
Private unique hash table.
$oPresentation  : null|PhpPresentation
Private PhpPresentation.
$oZipAdapter  : null|ZipInterface

Methods

__construct()  : mixed
Create a new \PhpOffice\PhpPresentation\Writer\Serialized.
getDrawingHashTable()  : HashTable
Get drawing hash table.
getPhpPresentation()  : PhpPresentation|null
Get PhpPresentation object.
getZipAdapter()  : ZipInterface|null
save()  : void
Save PhpPresentation to file.
setPhpPresentation()  : self
Get PhpPresentation object.
setZipAdapter()  : self
allDrawings()  : array<int, AbstractShape>
Get an array of all drawings.
writeSerialized()  : string
Serialize PhpPresentation object to XML.
iterateCollection()  : array<int, AbstractShape>

Properties

Methods

__construct()

Create a new \PhpOffice\PhpPresentation\Writer\Serialized.

public __construct([PhpPresentation|null $pPhpPresentation = null ]) : mixed
Parameters
$pPhpPresentation : PhpPresentation|null = null

getZipAdapter()

public getZipAdapter() : ZipInterface|null
Return values
ZipInterface|null

save()

Save PhpPresentation to file.

public save(string $pFilename) : void
Parameters
$pFilename : string

setPhpPresentation()

Get PhpPresentation object.

public setPhpPresentation([null|PhpPresentation $pPhpPresentation = null ]) : self
Parameters
$pPhpPresentation : null|PhpPresentation = null

PhpPresentation object

Return values
self

setZipAdapter()

public setZipAdapter(ZipInterface $oZipAdapter) : self
Parameters
$oZipAdapter : ZipInterface
Return values
self

writeSerialized()

Serialize PhpPresentation object to XML.

protected writeSerialized([PhpPresentation|null $pPhpPresentation = null ][, string $pFilename = '' ]) : string
Parameters
$pPhpPresentation : PhpPresentation|null = null
$pFilename : string = ''
Return values
string

XML Output


        
On this page

Search results