|
array | $contexttostringarray = [] |
| used to translate between contextids and strings for this context.
|
|
◆ __construct()
core_question\local\bank\context_to_string_translator::__construct |
( |
| $contexts | ) |
|
context_to_string_translator constructor.
- Parameters
-
◆ context_to_string()
core_question\local\bank\context_to_string_translator::context_to_string |
( |
| $contextid | ) |
|
Context to string.
- Parameters
-
- Return values
-
◆ generate_context_to_string_array()
core_question\local\bank\context_to_string_translator::generate_context_to_string_array |
( |
| $contexts | ) |
|
|
protected |
Generate context to array.
- Parameters
-
◆ string_to_context()
core_question\local\bank\context_to_string_translator::string_to_context |
( |
| $contextname | ) |
|
String to context.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file:
- question/classes/local/bank/context_to_string_translator.php