Represents the navigation panel, and builds a block_contents to allow it to be output.
More...
Represents the navigation panel, and builds a block_contents to allow it to be output.
- Copyright
- 2008 Tim Hunt
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- Since
- Moodle 2.0
◆ get_button_container_class()
quiz_nav_panel_base::get_button_container_class |
( |
| ) |
|
Return 'allquestionsononepage' as CSS class name when $showall is set, otherwise, return 'multipages' as CSS class name.
- Return values
-
◆ get_question_buttons()
quiz_nav_panel_base::get_question_buttons |
( |
| ) |
|
Get the buttons and section headings to go in the quiz navigation block.
- Return values
-
renderable[] | the buttons, possibly interleaved with section headings. |
◆ render_before_button_bits()
◆ render_restart_preview_link()
quiz_nav_panel_base::render_restart_preview_link |
( |
|
$output | ) |
|
|
protected |
Render the restart preview button.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file: