MDL-57599 core_calendar: Add action event class
commite46efe3a722d9433dad8e52a082338b5e60b9c6a
authorCameron Ball <cameron@moodle.com>
Sun, 5 Feb 2017 20:08:47 +0000 (6 04:08 +0800)
committerDamyon Wiese <damyon@moodle.com>
Mon, 3 Apr 2017 03:35:38 +0000 (3 11:35 +0800)
tree0c594809cc3ac9933349069d41b85dc4b91d548f
parentf7ce6eab7e5c8caffa96e65ce7063cda9172d735
MDL-57599 core_calendar: Add action event class

This patch adds a "regular" calendar event class, and a simple extension
of it which we are calling an action event.

Part of MDL-55611 epic.
24 files changed:
calendar/classes/local/event/entities/action_event.php [new file with mode: 0644]
calendar/classes/local/event/entities/event.php [new file with mode: 0644]
calendar/classes/local/event/entities/repeat_event_collection.php [new file with mode: 0644]
calendar/classes/local/event/exceptions/member_does_not_exist_exception.php [new file with mode: 0644]
calendar/classes/local/event/exceptions/no_repeat_parent_exception.php [new file with mode: 0644]
calendar/classes/local/event/proxies/std_proxy.php [new file with mode: 0644]
calendar/classes/local/event/value_objects/action.php [new file with mode: 0644]
calendar/classes/local/event/value_objects/event_description.php [new file with mode: 0644]
calendar/classes/local/event/value_objects/event_times.php [new file with mode: 0644]
calendar/classes/local/interfaces/action_event_interface.php [new file with mode: 0644]
calendar/classes/local/interfaces/action_interface.php [new file with mode: 0644]
calendar/classes/local/interfaces/description_interface.php [new file with mode: 0644]
calendar/classes/local/interfaces/event_collection_interface.php [new file with mode: 0644]
calendar/classes/local/interfaces/event_factory_interface.php [new file with mode: 0644]
calendar/classes/local/interfaces/event_interface.php [new file with mode: 0644]
calendar/classes/local/interfaces/proxy_interface.php [new file with mode: 0644]
calendar/classes/local/interfaces/times_interface.php [new file with mode: 0644]
calendar/tests/action_event_test.php [new file with mode: 0644]
calendar/tests/action_test.php [new file with mode: 0644]
calendar/tests/event_description_test.php [new file with mode: 0644]
calendar/tests/event_test.php [new file with mode: 0644]
calendar/tests/event_times_test.php [new file with mode: 0644]
calendar/tests/repeat_event_collection_test.php [new file with mode: 0644]
calendar/tests/std_proxy_test.php [new file with mode: 0644]