Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250530) (c39b7370636)
core_question_bank_renderer Class Reference

This renderer outputs parts of the question bank. More...

Inheritance diagram for core_question_bank_renderer:

Public Member Functions

 extra_horizontal_navigation ($active=null)
 Display additional navigation if needed.
 
 qtype_icon ($qtype)
 Output the icon for a question type.
 
 render_bulk_actions_ui ($displaydata)
 Render bulk actions ui.
 
 render_category_condition_advanced ($displaydata)
 
 render_column_header ($qbankheaderdata)
 Render the column headers.
 
 render_column_sort ($sortdata)
 Render the column sort elements.
 
 render_question_pagination ($displaydata)
 Render question pagination.
 
 render_showtext_checkbox ($displaydata)
 Render the showtext option.
 

Public Attributes

since __FUNCTION__
 
since : '4.3'
 
since : '4.3'
 
since mdl: '<a class="el" href="https: final: true )] public function render_category_condition($displaydata) { core\deprecation::emit_deprecation_if_present([self::class
 

Detailed Description

This renderer outputs parts of the question bank.

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

Member Function Documentation

◆ extra_horizontal_navigation()

core_question_bank_renderer::extra_horizontal_navigation ( $active = null)

Display additional navigation if needed.

Parameters
string$active
Return values
string

◆ qtype_icon()

core_question_bank_renderer::qtype_icon ( $qtype)

Output the icon for a question type.

Parameters
string$qtypethe question type.
Return values
stringHTML fragment.

◆ render_bulk_actions_ui()

core_question_bank_renderer::render_bulk_actions_ui ( $displaydata)

Render bulk actions ui.

Parameters
array$displaydata
Return values
bool|string

◆ render_category_condition_advanced()

core_question_bank_renderer::render_category_condition_advanced ( $displaydata)
Deprecated
since Moodle 4.3

◆ render_column_header()

core_question_bank_renderer::render_column_header ( $qbankheaderdata)

Render the column headers.

Parameters
array$qbankheaderdata
Return values
bool|string

◆ render_column_sort()

core_question_bank_renderer::render_column_sort ( $sortdata)

Render the column sort elements.

Parameters
array$sortdata
Return values
bool|string

◆ render_question_pagination()

core_question_bank_renderer::render_question_pagination ( $displaydata)

Render question pagination.

Parameters
array$displaydata
Return values
bool|string
Deprecated
since Moodle 5.1 MDL-78091
Todo
MDL-84648 Final deprecation on Moodle 6.0

◆ render_showtext_checkbox()

core_question_bank_renderer::render_showtext_checkbox ( $displaydata)

Render the showtext option.

It's not a checkbox any more! [Name your API after the purpose, not the implementation!]

Parameters
array$displaydata
Return values
string

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