Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
mod_chat\dates Class Reference

Class for fetching the important dates in mod_chat for a given module instance and a user. More...

Inheritance diagram for mod_chat\dates:
core\activity_dates

Static Public Member Functions

static get_dates_for_module (cm_info $cm, int $userid)
 Returns a list of important dates in the given module for the user.
 

Protected Member Functions

 get_dates ()
 Returns a list of important dates in mod_chat.
 

Protected Attributes

cm_info $cm
 The course module information object.
 
int $userid
 The user id.
 

Detailed Description

Class for fetching the important dates in mod_chat for a given module instance and a user.

Member Function Documentation

◆ get_dates()

mod_chat\dates::get_dates ( )
protected

Returns a list of important dates in mod_chat.

Return values
array

Reimplemented from core\activity_dates.

◆ get_dates_for_module()

static core\activity_dates::get_dates_for_module ( cm_info $cm,
int $userid )
staticinherited

Returns a list of important dates in the given module for the user.

Parameters
cm_info$cmThe course module information.
int$useridThe user ID.
Return values
array|array[]

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