Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
mod_chat\external\view_sessions Class Reference

External service to log viewed previous chat sessions. More...

Inheritance diagram for mod_chat\external\view_sessions:

Static Public Member Functions

static execute (int $cmid, ?int $start=0, ?int $end=0)
 Execute the chat view sessions event.
 
static execute_parameters ()
 Returns description of method parameters.
 
static execute_returns ()
 Describe the return structure of the external service.
 

Detailed Description

External service to log viewed previous chat sessions.

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

Member Function Documentation

◆ execute()

static mod_chat\external\view_sessions::execute ( int $cmid,
?int $start = 0,
?int $end = 0 )
static

Execute the chat view sessions event.

Parameters
int$cmidthe chat course module id
null | int$start
null | int$end
Return values
array
Exceptions
restricted_context_exception

◆ execute_parameters()

static mod_chat\external\view_sessions::execute_parameters ( )
static

Returns description of method parameters.

Return values
external_function_parameters

◆ execute_returns()

static mod_chat\external\view_sessions::execute_returns ( )
static

Describe the return structure of the external service.

Return values
external_single_structure

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