Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
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.