-
Notifications
You must be signed in to change notification settings - Fork 140
Sabre VObject Splitter ICalendar
Evert Pot edited this page Jun 6, 2013
·
5 revisions
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.
- Class name: ICalendar
- Namespace: Sabre\VObject\Splitter
- This class implements: Sabre\VObject\Splitter\SplitterInterface
protected array $vtimezones = array()
Timezones
- Visibility: protected
protected array $objects = array()
iCalendar objects
- Visibility: protected
mixed Sabre\VObject\Splitter\ICalendar::__construct(resource $input, int $options)
Constructor
The splitter should receive an readable file stream as it's input.
- Visibility: public
- $input resource
- $options int - Parser options, see the OPTIONS constants.
\Sabre\VObject\Splitter\Sabre\VObject\Component|null Sabre\VObject\Splitter\ICalendar::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.
- Visibility: public