Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
qbank_viewquestiontext\output\question_text_format Class Reference
Inheritance diagram for qbank_viewquestiontext\output\question_text_format:

Public Member Functions

 __construct (view $qbank)
 Store the returnurl and the current preference value.
 
 export_for_template (renderer_base $output)
 

Public Attributes

int const FULL = 2
 Question text is displayed fully rendered.
 
int const OFF = 0
 Question text is off.
 
int const PLAIN = 1
 Question text is displayed in plain text mode.
 

Protected Attributes

int mixed int $preference
 The current display preference value.
 
moodle_url moodle_url $returnurl
 The return URL for redirecting back to the current question bank page.
 

Constructor & Destructor Documentation

◆ __construct()

qbank_viewquestiontext\output\question_text_format::__construct ( view $qbank)

Store the returnurl and the current preference value.

Parameters
view$qbank
Exceptions
moodle_exception

The documentation for this class was generated from the following file: