Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
core_webservice_external Class Reference
Inheritance diagram for core_webservice_external:

Static Public Member Functions

static get_site_info ($serviceshortnames=array())
 Return user information including profile picture + basic site information Note:
 
static get_site_info_parameters ()
 Returns description of method parameters.
 
static get_site_info_returns ()
 Returns description of method result value.
 

Detailed Description

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Since
Moodle 2.2

Member Function Documentation

◆ get_site_info()

static core_webservice_external::get_site_info ( $serviceshortnames = array())
static

Return user information including profile picture + basic site information Note:

  • no capability checking because we return only known information about logged user
Parameters
array$serviceshortnames- DEPRECATED PARAMETER - values will be ignored - it was an original design error, we keep for backward compatibility.
Return values
arraysite info
Since
Moodle 2.2

◆ get_site_info_parameters()

static core_webservice_external::get_site_info_parameters ( )
static

Returns description of method parameters.

Return values
external_function_parameters
Since
Moodle 2.2

◆ get_site_info_returns()

static core_webservice_external::get_site_info_returns ( )
static

Returns description of method result value.

Return values
external_single_structure
Since
Moodle 2.2

The documentation for this class was generated from the following file: