Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
qbank_managecategories\question_categories Class Reference

Public Member Functions

 __construct (moodle_url $pageurl, array $contexts, ?int $cmid=null, ?int $courseid=null, ?int $thiscontext=null,)
 Constructor.
 

Public Attributes

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.
 

Constructor & Destructor Documentation

◆ __construct()

qbank_managecategories\question_categories::__construct ( moodle_url $pageurl,
array $contexts,
?int $cmid = null,
?int $courseid = null,
?int $thiscontext = null )

Constructor.

Parameters
moodle_url$pageurlbase URL of the display categories page. Used for redirects.
context[]$contextscontexts where the current user can edit categories.
?int$cmidcourse module id for the current page.
?int$courseidcourse id for the current page.
?int$thiscontextThe context ID of the current page.

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