Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
core\external\moodlenet_get_shared_course_info Class Reference
Inheritance diagram for core\external\moodlenet_get_shared_course_info:

Static Public Member Functions

static execute (int $courseid)
 External function to get the course information.
 
static execute_parameters ()
 Returns description of parameters.
 
static execute_returns ()
 Describes the data returned from the external function.
 

Static Protected Member Functions

static return_errors (int $itemid, string $warningcode, string $message, int $issuerid=0)
 Handle return error.
 

Member Function Documentation

◆ execute()

static core\external\moodlenet_get_shared_course_info::execute ( int $courseid)
static

External function to get the course information.

Parameters
int$courseidThe course id
Return values
array

◆ execute_parameters()

static core\external\moodlenet_get_shared_course_info::execute_parameters ( )
static

Returns description of parameters.

Return values
external_function_parameters

◆ execute_returns()

static core\external\moodlenet_get_shared_course_info::execute_returns ( )
static

Describes the data returned from the external function.

Return values
external_single_structure

◆ return_errors()

static core\external\moodlenet_get_shared_course_info::return_errors ( int $itemid,
string $warningcode,
string $message,
int $issuerid = 0 )
staticprotected

Handle return error.

Parameters
int$itemidItem id.
string$warningcodeWarning code.
string$messageMessage.
int$issueridIssuer id.
Return values
array

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