Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 400 and 401] [Versions 401 and 403]

(no description)

File Size: 209 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: question_history_view  - X-Ref

Custom view class for the history page.

__construct(question_edit_contexts $contexts, moodle_url $pageurl, stdClass $course, int $entryid,string $returnurl)   X-Ref
Constructor for the history.

param: question_edit_contexts $contexts the contexts of api call
param: moodle_url $pageurl url of the page
param: stdClass $course course settings
param: int $entryid quiz settings
param: string $returnurl url to return to

wanted_columns()   X-Ref
No description

wanted_filters($cat, $tagids, $showhidden, $recurse, $editcontexts, $showquestiontext)   X-Ref
No description

display_advanced_search_form($advancedsearch)   X-Ref
No description

create_new_question_form($category, $canadd)   X-Ref
No description

default_sort()   X-Ref
Default sort for question data.

return: array

build_query()   X-Ref
No description

display_question_bank_header()   X-Ref
Display the header for the question bank in the history page to include question name and type.


is_listing_specific_versions()   X-Ref
No description