Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: