Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
mod_quiz\output\navigation_question_button Class Reference
Inheritance diagram for mod_quiz\output\navigation_question_button:
renderable

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.
 

Detailed Description

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Data Documentation

◆ $number

string mod_quiz\output\navigation_question_button::$number

number to display in this button.

Either the question number of 'i'.

◆ $statestring

string mod_quiz\output\navigation_question_button::$statestring

Textual description of the question state, e.g.

to use as a tool tip.


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