Documentation

Iterator extends IteratorIterator
in package

Table of Contents

Properties

$position  : int
Current iterator position.
$subject  : PhpPresentation
Presentation to iterate.

Methods

__construct()  : mixed
Create a new slide iterator.
current()  : Slide
Current \PhpOffice\PhpPresentation\Slide.
key()  : int
Current key.
next()  : void
Next value.
rewind()  : void
Rewind iterator.
valid()  : bool
More \PhpOffice\PhpPresentation\Slide instances available?

Properties

$position

Current iterator position.

private int $position = 0

Methods

current()

Current \PhpOffice\PhpPresentation\Slide.

public current() : Slide
Attributes
#[ReturnTypeWillChange]
Return values
Slide

key()

Current key.

public key() : int
Attributes
#[ReturnTypeWillChange]
Return values
int

next()

Next value.

public next() : void
Attributes
#[ReturnTypeWillChange]

rewind()

Rewind iterator.

public rewind() : void
Attributes
#[ReturnTypeWillChange]

valid()

More \PhpOffice\PhpPresentation\Slide instances available?

public valid() : bool
Attributes
#[ReturnTypeWillChange]
Return values
bool

        
On this page

Search results