Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: