Class representing a collection of repeat events.
More...
|
int const | DB_QUERY_LIMIT = 100 |
| DB_QUERY_LIMIT How many records to pull from the DB at once.
|
|
|
event_factory_interface | $factory |
| $factory Event factory.
|
|
int | $num |
| $num Total number of events that could be retrieved by this collection.
|
|
int | $parentid |
| $parentid The ID of the event which the events in this collection are repeats of.
|
|
stdClass | $parentrecord |
| $parentrecord The parent event record from the database.
|
|
Class representing a collection of repeat events.
- Copyright
- 2017 Cameron Ball camer.nosp@m.on@c.nosp@m.amero.nosp@m.n172.nosp@m.9.xyz
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
core_calendar\local\event\entities\repeat_event_collection::__construct |
( |
|
$dbrow, |
|
|
event_factory_interface |
$factory |
|
) |
| |
Constructor.
- Parameters
-
stdClass | $dbrow | The event dbrow that is being repeated. |
event_factory_interface | $factory | Event factory. |
◆ get_id()
core_calendar\local\event\entities\repeat_event_collection::get_id |
( |
| ) |
|
◆ get_num()
core_calendar\local\event\entities\repeat_event_collection::get_num |
( |
| ) |
|
◆ get_parent_record()
core_calendar\local\event\entities\repeat_event_collection::get_parent_record |
( |
| ) |
|
|
protected |
Return the parent DB record.
- Return values
-
◆ load_event_records()
core_calendar\local\event\entities\repeat_event_collection::load_event_records |
( |
|
$start = 0 | ) |
|
|
protected |
Generate more event records.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file: