-
Sub-task
-
Resolution: Duplicate
-
Minor
-
None
-
2.1
-
MOODLE_21_STABLE
It is relatively difficult to add new context levels, in the future we could add tenant and cohort context, it should be relatively easy to create a new OOP api for most context operations.
The only problem is how to call the parent 'context' class, hopefully no other PHP project is using 'context' class. We could use something else like mcontext or moodle_context, but it would be a lot of typing in the future....