Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Attributes | List of all members
quiz_nav_question_button Class Reference

Represents a single link in the navigation panel. More...

Inheritance diagram for quiz_nav_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.
 
int $navmethod
 QUIZ_NAVMETHOD_FREE or QUIZ_NAVMETHOD_SEQ.
 
string $number
 number to display in this button. More...
 
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. More...
 
moodle_url $url
 the link this button goes to, or null if there should not be a link.
 

Detailed Description

Represents a single link in the navigation panel.

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

Member Data Documentation

◆ $number

string quiz_nav_question_button::$number

number to display in this button.

Either the question number of 'i'.

◆ $statestring

string quiz_nav_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: