Class for fetching the important dates of an activity module for a given module instance and a user.
More...
|
| | get_dates () |
| | Returns a list of important dates for this module.
|
| |
|
|
cm_info | $cm |
| | The course module information object.
|
| |
|
int | $userid |
| | The user id.
|
| |
Class for fetching the important dates of an activity module for a given module instance and a user.
- Copyright
- Shamim Rezaie shami.nosp@m.m@mo.nosp@m.odle..nosp@m.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
| core\activity_dates::__construct |
( |
cm_info | $cm, |
|
|
int | $userid ) |
activity_dates constructor.
- Parameters
-
| cm_info | $cm | course module |
| int | $userid | user id |
◆ get_dates()
| core\activity_dates::get_dates |
( |
| ) |
|
|
abstractprotected |
◆ get_dates_for_module()
| static core\activity_dates::get_dates_for_module |
( |
cm_info | $cm, |
|
|
int | $userid ) |
|
static |
Returns a list of important dates in the given module for the user.
- Parameters
-
| cm_info | $cm | The course module information. |
| int | $userid | The user ID. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/classes/activity_dates.php