Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
message_popup_external Class Reference

Message external functions. More...

Inheritance diagram for message_popup_external:

Static Public Member Functions

static get_popup_notifications ($useridto, $newestfirst, $limit, $offset)
 Get notifications function.
 
static get_popup_notifications_parameters ()
 Get popup notifications parameters description.
 
static get_popup_notifications_returns ()
 Get notifications return description.
 
static get_unread_popup_notification_count ($useridto)
 Get unread notification count function.
 
static get_unread_popup_notification_count_parameters ()
 Get unread notification count parameters description.
 
static get_unread_popup_notification_count_returns ()
 Get unread popup notification count return description.
 

Detailed Description

Message external functions.

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

Member Function Documentation

◆ get_popup_notifications()

static message_popup_external::get_popup_notifications ( $useridto,
$newestfirst,
$limit,
$offset )
static

Get notifications function.

Since
3.2
Exceptions
invalid_parameter_exception
moodle_exception
Parameters
int$useridtothe user id who received the message
bool$newestfirsttrue for ordering by newest first, false for oldest first
int$limitthe number of results to return
int$offsetoffset the result set by a given amount
Return values
core_external\external_description

◆ get_popup_notifications_parameters()

static message_popup_external::get_popup_notifications_parameters ( )
static

Get popup notifications parameters description.

Return values
external_function_parameters
Since
3.2

◆ get_popup_notifications_returns()

static message_popup_external::get_popup_notifications_returns ( )
static

Get notifications return description.

Return values
external_single_structure
Since
3.2

◆ get_unread_popup_notification_count()

static message_popup_external::get_unread_popup_notification_count ( $useridto)
static

Get unread notification count function.

Since
3.2
Exceptions
invalid_parameter_exception
moodle_exception
Parameters
int$useridtothe user id who received the message
Return values
core_external\external_description

◆ get_unread_popup_notification_count_parameters()

static message_popup_external::get_unread_popup_notification_count_parameters ( )
static

Get unread notification count parameters description.

Return values
external_function_parameters
Since
3.2

◆ get_unread_popup_notification_count_returns()

static message_popup_external::get_unread_popup_notification_count_returns ( )
static

Get unread popup notification count return description.

Return values
external_single_structure
Since
3.2

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