IOFactory
in package
IOFactory.
Table of Contents
Properties
- $autoResolveClasses : array<int, string>
- Autoresolve classes.
Methods
- createReader() : ReaderInterface
- Create reader.
- createWriter() : WriterInterface
- Create writer.
- load() : PhpPresentation
- Loads PhpPresentation from file using automatic ReaderInterface resolution.
- isConcreteClass() : bool
- Is it a concrete class?
- loadClass() : object
- Load class.
Properties
$autoResolveClasses
Autoresolve classes.
private
static array<int, string>
$autoResolveClasses
= ['Serialized', 'ODPresentation', 'PowerPoint97', 'PowerPoint2007']
Methods
createReader()
Create reader.
public
static createReader(string $name) : ReaderInterface
Parameters
- $name : string
Return values
ReaderInterfacecreateWriter()
Create writer.
public
static createWriter(PhpPresentation $phpPresentation[, string $name = 'PowerPoint2007' ]) : WriterInterface
Parameters
- $phpPresentation : PhpPresentation
- $name : string = 'PowerPoint2007'
Return values
WriterInterfaceload()
Loads PhpPresentation from file using automatic ReaderInterface resolution.
public
static load(string $pFilename) : PhpPresentation
Parameters
- $pFilename : string
Return values
PhpPresentationisConcreteClass()
Is it a concrete class?
private
static isConcreteClass(string $class) : bool
Parameters
- $class : string
Return values
boolloadClass()
Load class.
private
static loadClass(string $class, string $type[, PhpPresentation|null $phpPresentation = null ]) : object
Parameters
- $class : string
- $type : string
- $phpPresentation : PhpPresentation|null = null