Added the function of receiving all the events

This commit is contained in:
2017-12-27 16:01:48 +04:00
parent 41185c6db4
commit 3d4b78bd8b
2 changed files with 13 additions and 1 deletions

10
lib.php
View File

@ -83,6 +83,16 @@ function local_webhooks_get_list_records($limitfrom = 0, $limitnum = 0) {
return $listrecords;
}
/**
* 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.
*