Documentation

PhpPresentation
in package

PhpPresentation.

Table of Contents

Properties

$activeSlideIndex  : int
Active slide index.
$documentProperties  : DocumentProperties
Document properties.
$layout  : DocumentLayout
Document layout.
$presentationProps  : PresentationProperties
Presentation properties.
$slideCollection  : array<int, Slide>
Collection of Slide objects.
$slideMasters  : array<int, SlideMaster>|ArrayObject<int, SlideMaster>
Collection of Master Slides.

Methods

__construct()  : mixed
Create a new PhpPresentation with one Slide.
addExternalSlide()  : Slide
Add external slide.
addMasterSlide()  : SlideMaster
Add masterslide.
addSlide()  : Slide
Add slide.
copy()  : self
Copy presentation (!= clone!).
createMasterSlide()  : SlideMaster
Create a masterslide and add it to this presentation.
createSlide()  : Slide
Create slide and add it to this presentation.
getActiveSlide()  : Slide
Get active slide.
getActiveSlideIndex()  : int
Get active slide index.
getAllMasterSlides()  : array<int, SlideMaster>|ArrayObject<int, SlideMaster>
getAllSlides()  : array<int, Slide>
Get all slides.
getDocumentProperties()  : DocumentProperties
Get properties.
getIndex()  : int|null
Get index for slide.
getLayout()  : DocumentLayout
Get layout.
getPresentationProperties()  : PresentationProperties
Get presentation properties.
getSlide()  : Slide
Get slide by index.
getSlideCount()  : int
Get slide count.
getSlideIterator()  : Iterator
Get slide iterator.
removeSlideByIndex()  : self
Remove slide by index.
setActiveSlideIndex()  : Slide
Set active slide index.
setAllMasterSlides()  : self
setDocumentProperties()  : self
Set properties.
setLayout()  : self
Set layout.
setPresentationProperties()  : self
Set presentation properties.

Properties

$activeSlideIndex

Active slide index.

protected int $activeSlideIndex = 0

$slideCollection

Collection of Slide objects.

protected array<int, Slide> $slideCollection = []

Methods

__construct()

Create a new PhpPresentation with one Slide.

public __construct() : mixed

copy()

Copy presentation (!= clone!).

public copy() : self
Return values
self

getActiveSlideIndex()

Get active slide index.

public getActiveSlideIndex() : int
Return values
int

Active slide index

getSlide()

Get slide by index.

public getSlide([int $index = 0 ]) : Slide
Parameters
$index : int = 0

Slide index

Return values
Slide

getSlideCount()

Get slide count.

public getSlideCount() : int
Return values
int

removeSlideByIndex()

Remove slide by index.

public removeSlideByIndex([int $index = 0 ]) : self
Parameters
$index : int = 0

Slide index

Return values
self

setActiveSlideIndex()

Set active slide index.

public setActiveSlideIndex([int $index = 0 ]) : Slide
Parameters
$index : int = 0

Active slide index

Return values
Slide

        
On this page

Search results