|
| __construct (moodle_url $pageurl, array $contexts, ?int $cmid=null, ?int $courseid=null, ?int $thiscontext=null,) |
| Constructor.
|
|
|
int int | $cmid |
| cmid.
|
|
int int | $contextid |
| The context ID of the current page.
|
|
int int | $courseid |
| courseid.
|
|
array array | $editlists |
| An array containing a tree of categories for each context.
|
|
moodle_url moodle_url | $pageurl |
| Object representing url for this page.
|
|
◆ __construct()
qbank_managecategories\question_categories::__construct |
( |
moodle_url | $pageurl, |
|
|
array | $contexts, |
|
|
?int | $cmid = null, |
|
|
?int | $courseid = null, |
|
|
?int | $thiscontext = null ) |
Constructor.
- Parameters
-
moodle_url | $pageurl | base URL of the display categories page. Used for redirects. |
context[] | $contexts | contexts where the current user can edit categories. |
?int | $cmid | course module id for the current page. |
?int | $courseid | course id for the current page. |
?int | $thiscontext | The context ID of the current page. |
The documentation for this class was generated from the following file:
- question/bank/managecategories/classes/question_categories.php