Class containing completion API.
More...
|
static | update_completion_date_event ($cmid, $modulename, $instanceorid, $completionexpectedtime) |
| Creates, updates or deletes an event for the expected completion date. More...
|
|
|
string const | COMPLETION_EVENT_TYPE_DATE_COMPLETION_EXPECTED = 'expectcompletionon' |
| The completion expected on event.
|
|
Class containing completion API.
- Copyright
- 2017 Mark Nelson markn.nosp@m.@moo.nosp@m.dle.c.nosp@m.om
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ update_completion_date_event()
static core_completion\api::update_completion_date_event |
( |
|
$cmid, |
|
|
|
$modulename, |
|
|
|
$instanceorid, |
|
|
|
$completionexpectedtime |
|
) |
| |
|
static |
Creates, updates or deletes an event for the expected completion date.
- Parameters
-
int | $cmid | The course module id |
string | $modulename | The name of the module (eg. assign, quiz) |
stdClass | int | $instanceorid | The instance object or ID. |
int | null | $completionexpectedtime | The time completion is expected, null if not set |
- Return values
-
The documentation for this class was generated from the following file: