Events
in package
implements
Iterator
Backup iterator for events.
Tags
Interfaces, Classes, Traits and Enums
- Iterator
Table of Contents
- $_calendar : string
- The calendar ID.
- $_driver : Kronolith_Driver
- The driver instance.
- $_events : ArrayIterator
- Iterator over the events of the current day.
- $_iterator : ArrayIterator
- Iterator over the day lists.
- $_user : string
- The creator's user name.
- __construct() : mixed
- Constructor.
- current() : mixed
- key() : mixed
- next() : mixed
- rewind() : mixed
- valid() : mixed
- _next() : mixed
Properties
$_calendar
The calendar ID.
protected
string
$_calendar
$_driver
The driver instance.
protected
Kronolith_Driver
$_driver
$_events
Iterator over the events of the current day.
protected
ArrayIterator
$_events
$_iterator
Iterator over the day lists.
protected
ArrayIterator
$_iterator
$_user
The creator's user name.
protected
string
$_user
Methods
__construct()
Constructor.
public
__construct(Kronolith_Driver $driver, string $calendar, string $user) : mixed
Parameters
- $driver : Kronolith_Driver
-
A driver instance.
- $calendar : string
-
A calendar ID.
- $user : string
-
The creator to limit the returned events.
Return values
mixed —current()
public
current() : mixed
Return values
mixed —key()
public
key() : mixed
Return values
mixed —next()
public
next() : mixed
Return values
mixed —rewind()
public
rewind() : mixed
Return values
mixed —valid()
public
valid() : mixed
Return values
mixed —_next()
protected
_next() : mixed