Documentation

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

load()

Loads PhpPresentation from file using automatic ReaderInterface resolution.

public static load(string $pFilename) : PhpPresentation
Parameters
$pFilename : string
Return values
PhpPresentation

isConcreteClass()

Is it a concrete class?

private static isConcreteClass(string $class) : bool
Parameters
$class : string
Return values
bool

loadClass()

Load class.

private static loadClass(string $class, string $type[, PhpPresentation|null $phpPresentation = null ]) : object
Parameters
$class : string
$type : string
$phpPresentation : PhpPresentation|null = null
Return values
object

        
On this page

Search results