|
Moodle PHP Documentation 4.4
Moodle 4.4.9+ (Build: 20250711) (4ea86454947)
|
Namespaces | |
| namespace | core_question |
| | |
| namespace | core_question\admin |
| | |
| namespace | core_question\engine\variants |
| | |
| namespace | core_question\external |
| | |
| namespace | core_question\local\bank |
| | |
| namespace | core_question\local\statistics |
| | |
| namespace | core_question\output |
| | |
| namespace | core_question\privacy |
| | |
| namespace | core_question\statistics\questions |
| | |
| namespace | core_question\statistics\responses |
| | |
Classes | |
| class | behat_core_question |
| class | behat_core_question_generator |
| Behat data generator for core_question. More... | |
| class | behat_question_base |
| Steps definitions related with the question bank management. More... | |
| class | core_question\admin\manage_qbank_plugins_page |
| Class manage_qbank_plugins_page. More... | |
| class | core_question\engine\variants\least_used_strategy |
| A question_variant_selection_strategy that randomly selects variants that were not used yet. More... | |
| class | core_question\external\question_icon_exporter |
| Class for exporting a question from an stdClass. More... | |
| class | core_question\external\question_summary_exporter |
| Class for exporting a question summary from an stdClass. More... | |
| class | core_question\local\bank\action_column_base |
| A base class for actions that are an icon that lets you manipulate the question in some way. More... | |
| class | core_question\local\bank\bulk_action_base |
| class | core_question\local\bank\checkbox_column |
| A column with a checkbox for each question with name q{questionid}. More... | |
| class | core_question\local\bank\column_action_base |
| class | core_question\local\bank\column_base |
| Base class for representing a column. More... | |
| class | core_question\local\bank\column_manager_base |
| class | core_question\local\bank\condition |
| class | core_question\local\bank\context_to_string_translator |
| class | core_question\local\bank\edit_menu_column |
| A question bank column which gathers together all the actions into a menu. More... | |
| class | core_question\local\bank\filter_condition_manager |
| Static methods for parsing and formatting data related to filter conditions. More... | |
| class | core_question\local\bank\helper |
| Class helper. More... | |
| class | core_question\local\bank\menu_action_column_base |
| Base class to make it easier to implement actions that are menuable_actions. More... | |
| interface | core_question\local\bank\menuable_action |
| Interface to indicate that a question bank column can go in the action menu. More... | |
| class | core_question\local\bank\navigation_node_base |
| Class navigation_node_base is the base class for navigation node. More... | |
| class | core_question\local\bank\plugin_features_base |
| Class plugin_features_base is the base class for qbank plugins. More... | |
| class | core_question\local\bank\question_action_base |
| Base class to make it easier to implement actions that are menuable_actions. More... | |
| class | core_question\local\bank\question_edit_contexts |
| class | core_question\local\bank\question_version_status |
| class | core_question\local\bank\random_question_loader |
| This class efficiently finds questions at random from the question bank. More... | |
| class | core_question\local\bank\row_base |
| Base class for 'columns' that are actually displayed as a row following the main question row. More... | |
| class | core_question\local\bank\view |
| This class prints a view of the question bank. More... | |
| class | core_question\local\bank\view_component |
| class | core_question\local\statistics\statistics_bulk_loader |
| class | core_question\output\qbank_action_menu |
| class | core_question\output\question_bank_filter_ui |
| class | core_question\output\question_version_info |
| class | core_question\output\question_version_selection |
| class | core_question\privacy\provider |
| Privacy Subsystem implementation for core_question. More... | |
| class | core_question\question_reference_manager |
| class | core_question\statistics\questions\all_calculated_for_qubaid_condition |
| A collection of all the question statistics calculated for an activity instance. More... | |
| class | core_question\statistics\questions\calculated_for_subquestion |
| A class to store calculated stats for a sub question. More... | |
| class | core_question\statistics\questions\calculated_question_summary |
| Class calculated_question_summary. More... | |
| class | core_question\statistics\responses\analyser |
| This class can compute, store and cache the analysis of the responses to a particular question. More... | |
| class | core_question\statistics\responses\analysis_for_actual_response |
| The leafs of the analysis data structure. More... | |
| class | core_question\statistics\responses\analysis_for_class |
| Counts a class of responses for this sub part of the question. More... | |
| class | core_question\statistics\responses\analysis_for_question |
| Analysis for possible responses for parts of a question. More... | |
| class | core_question\statistics\responses\analysis_for_question_all_tries |
| Analysis for possible responses for parts of a question with multiple submitted responses. More... | |
| class | core_question\statistics\responses\analysis_for_subpart |
| Representing the analysis of each of the sub parts of each variant of the question. More... | |
| class | core_question_bank_renderer |
| This renderer outputs parts of the question bank. More... | |
| class | core_question_external |
| Question external functions. More... | |
| class | core_question_generator |
| Class core_question_generator for generating question data. More... | |
| class | qubaid_condition |
| This class represents a restriction on the set of question_usage ids to include in a larger database query. More... | |
| class | qubaid_join |
| This class represents a restriction on the set of question_usage ids to include in a larger database query based on JOINing to some other tables. More... | |
| class | qubaid_list |
| This class represents a restriction on the set of question_usage ids to include in a larger database query based on an explicit list of ids. More... | |
| class | question_engine_data_mapper |
| This class controls the loading and saving of question engine data to and from the database. More... | |
| class | question_engine_unit_of_work |
| Implementation of the unit of work pattern for the question engine. More... | |
| class | question_file_loader |
| This class is the mirror image of question_file_saver. More... | |
| class | question_file_saver |
| This class represents the promise to save some files from a particular draft file area into a particular file area. More... | |
| class | question_filter_test_helper |
| Provide utility function for random question test. More... | |
| interface | question_response_files |
| The interface implemented by question_file_saver and question_file_loader. More... | |
Functions | |
| core_question_output_fragment_question_data (array $args) | |
| Question data fragment to get the question html via ajax call. | |
| core_question_output_fragment_tags_form () | |
| create_new_question_button () | |
| print_choose_qtype_to_add_form () | |
| question_can_delete_cat () | |
| question_is_only_child_of_top_category_in_context () | |
| question_is_top_category () | |
| question_preview_action_url () | |
| question_preview_form_url () | |
| question_preview_question_pluginfile () | |
| question_rewrite_question_urls ($text, $file, $contextid, $component, $filearea, array $ids, $itemid, array $options=null) | |
| Helps call file_rewrite_pluginfile_urls with the right parameters. | |
| restart_preview () | |
| core_question_output_fragment_question_data | ( | array | $args | ) |
Question data fragment to get the question html via ajax call.
| array | $args | Arguments for rendering the fragment. Expected keys:
|
| array|string |
| core_question_output_fragment_tags_form | ( | ) |
| create_new_question_button | ( | ) |
| print_choose_qtype_to_add_form | ( | ) |
| question_can_delete_cat | ( | ) |
| question_is_only_child_of_top_category_in_context | ( | ) |
| question_is_top_category | ( | ) |
| question_preview_action_url | ( | ) |
| question_preview_form_url | ( | ) |
| question_preview_question_pluginfile | ( | ) |
| question_rewrite_question_urls | ( | $text, | |
| $file, | |||
| $contextid, | |||
| $component, | |||
| $filearea, | |||
| array | $ids, | ||
| $itemid, | |||
| array | $options = null ) |
Helps call file_rewrite_pluginfile_urls with the right parameters.
| string | $text | text being processed |
| string | $file | the php script used to serve files |
| int | $contextid | context ID |
| string | $component | component |
| string | $filearea | filearea |
| array | $ids | other IDs will be used to check file permission |
| int | $itemid | item ID |
| array | $options | options |
| string |
| restart_preview | ( | ) |