Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Converts contextlevels to strings and back to help with reading/writing contexts to/from import/export files. More...
Public Member Functions | |
__construct ($contexts) | |
context_to_string ($contextid) | |
string_to_context ($contextname) | |
Protected Member Functions | |
generate_context_to_string_array ($contexts) | |
Protected Attributes | |
array | $contexttostringarray = array() |
used to translate between contextids and strings for this context. | |
Converts contextlevels to strings and back to help with reading/writing contexts to/from import/export files.