Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
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.