Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
external

Directories

directory analytics
  
 

Classes

class  mod_url_external
 URL external functions. More...
 

Variables

 $functions
 

Detailed Description

Variable Documentation

◆ $functions

$functions
Initial value:
= array(
'mod_url_view_url' => array(
'classname' => 'mod_url_external',
'methodname' => 'view_url',
'description' => 'Trigger the course module viewed event and update the module completion status.',
'type' => 'write',
'capabilities' => 'mod/url:view',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE)
),
'mod_url_get_urls_by_courses' => array(
'classname' => 'mod_url_external',
'methodname' => 'get_urls_by_courses',
'description' => 'Returns a list of urls in a provided list of courses, if no list is provided all urls that the user
can view will be returned.',
'type' => 'read',
'capabilities' => 'mod/url:view',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
)
const MOODLE_OFFICIAL_MOBILE_SERVICE
Moodle mobile app service name.
Definition moodlelib.php:535