Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core_message\external\get_unread_notification_count Class Reference
Inheritance diagram for core_message\external\get_unread_notification_count:

Static Public Member Functions

static execute (int $useridto)
 Get number of unread notifications.
 
static execute_parameters ()
 Returns description of method parameters.
 
static execute_returns ()
 Describe the return structure of the external service.
 

Detailed Description

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

Member Function Documentation

◆ execute()

static core_message\external\get_unread_notification_count::execute ( int $useridto)
static

Get number of unread notifications.

Parameters
int$useridtothe user id who received the notification, 0 for any user
Return values
intnumber of unread notifications
Exceptions
moodle_exception

◆ execute_parameters()

static core_message\external\get_unread_notification_count::execute_parameters ( )
static

Returns description of method parameters.

Return values
external_function_parameters

◆ execute_returns()

static core_message\external\get_unread_notification_count::execute_returns ( )
static

Describe the return structure of the external service.

Return values
external_value

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