Register a new external function

This commit is contained in:
Valentin Popov 2017-12-27 19:52:21 +04:00
parent 2eaa622161
commit 51007a0fb5

View File

@ -49,6 +49,14 @@ $functions = array(
"type" => "read" "type" => "read"
), ),
"local_webhooks_get_list_events" => array(
"classname" => "local_webhooks_external",
"methodname" => "get_list_events",
"classpath" => "local/webhooks/externallib.php",
"description" => "Get a list of all system events.",
"type" => "read"
),
"local_webhooks_create_record" => array( "local_webhooks_create_record" => array(
"classname" => "local_webhooks_external", "classname" => "local_webhooks_external",
"methodname" => "create_record", "methodname" => "create_record",