Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Public Attributes | |
bool | $currentpage |
true if this question is on the current page. | |
bool | $flagged |
true if this question has been flagged. | |
string | $id |
id="..." to add to the HTML for this button. | |
$isrealquestion | |
int | $navmethod |
QUIZ_NAVMETHOD_FREE or QUIZ_NAVMETHOD_SEQ. | |
string | $number |
number to display in this button. | |
int | $page |
the page number this question is on. | |
string | $stateclass |
class to add to the class="" attribute to represnt the question state. | |
string | $statestring |
Textual description of the question state, e.g. | |
moodle_url | $url |
the link this button goes to, or null if there should not be a link. | |
bool | |
if this is a real question, not an info item. | |
string mod_quiz\output\navigation_question_button::$number |
number to display in this button.
Either the question number of 'i'.
string mod_quiz\output\navigation_question_button::$statestring |
Textual description of the question state, e.g.
to use as a tool tip.