Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core\external\moodlenet_get_share_info_activity Class Reference
Inheritance diagram for core\external\moodlenet_get_share_info_activity:

Static Public Member Functions

static execute (int $cmid)
 External function to get the activity 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_share_info_activity::execute ( int $cmid)
static

External function to get the activity information.

Parameters
int$cmidThe course module id.
Return values
array
Since
Moodle 4.2

◆ execute_parameters()

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

Returns description of parameters.

Return values
external_function_parameters
Since
Moodle 4.2

◆ execute_returns()

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

Describes the data returned from the external function.

Return values
external_single_structure
Since
Moodle 4.2

◆ return_errors()

static core\external\moodlenet_get_share_info_activity::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: