Skip to content

Sabre VObject Splitter ICalendar

Evert Pot edited this page Sep 1, 2014 · 5 revisions

Sabre\VObject\Splitter\ICalendar

Splitter

This class is responsible for splitting up iCalendar objects.

This class expects a single VCALENDAR object with one or more calendar-objects inside. Objects with identical UID's will be combined into a single object.

Properties

$vtimezones

protected array $vtimezones = array()

Timezones

  • Visibility: protected

$objects

protected array $objects = array()

iCalendar objects

  • Visibility: protected

Methods

__construct

mixed Sabre\VObject\Splitter\SplitterInterface::__construct(resource $input)

Constructor

The splitter should receive an readable file stream as it's input.

Arguments

  • $input resource

getNext

\Sabre\VObject\Splitter\Sabre\VObject\Component|null Sabre\VObject\Splitter\SplitterInterface::getNext()

Every time getNext() is called, a new object will be parsed, until we hit the end of the stream.

When the end is reached, null will be returned.

Clone this wiki locally