diff options
author | Valentin Popov <info@valentineus.link> | 2017-12-27 15:01:48 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-12-27 15:01:48 +0300 |
commit | 3d4b78bd8b5c47f27d8b03101633c03da4e46997 (patch) | |
tree | d1c88232a67da99c8db35b57e4fb463daacb87e2 /lib.php | |
parent | 41185c6db4e24b66b8773918a59683f132802744 (diff) | |
download | local_webhooks-3d4b78bd8b5c47f27d8b03101633c03da4e46997.tar.xz local_webhooks-3d4b78bd8b5c47f27d8b03101633c03da4e46997.zip |
Added the function of receiving all the events
Diffstat (limited to 'lib.php')
-rw-r--r-- | lib.php | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -84,6 +84,16 @@ function local_webhooks_get_list_records($limitfrom = 0, $limitnum = 0) { } /** + * Get a list of all system events. + * + * @return array + */ +function local_webhooks_get_list_events() { + $eventlist = report_eventlist_list_generator::get_all_events_list(true); + return $eventlist; +} + +/** * Create an entry in the database. * * @param object $record |