Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Represents the user planner tool. More...
Public Member Functions | |
__construct (workshop $workshop, $userid) | |
Prepare an individual workshop plan for the given user. | |
get_examples () | |
Returns example submissions to be assessed by the owner of the planner. | |
Public Attributes | |
array | $phases = array() |
of (stdclass)tasks | |
int | $userid |
id of the user this plan is for | |
workshop | $workshop |
Protected Attributes | |
null array | $examples = null |
of example submissions to be assessed by the planner owner | |
Represents the user planner tool.
Planner contains list of phases. Each phase contains list of tasks. Task is a simple object with title, link and completed (true/false/null logic).
workshop_user_plan::__construct | ( | workshop | $workshop, |
$userid ) |
Prepare an individual workshop plan for the given user.
workshop | $workshop | instance |
int | $userid | whom the plan is prepared for |
workshop_user_plan::get_examples | ( | ) |
Returns example submissions to be assessed by the owner of the planner.
This is here to cache the DB query because the same list is needed later in view.php
array |