Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
quizaccess_seb\local\table\template_list Class Reference

Templates table. More...

Inheritance diagram for quizaccess_seb\local\table\template_list:

Public Member Functions

 __construct ($id=null)
 Constructor.
 
 display (array $records)
 Sets the data of the table.
 

Protected Member Functions

 col_actions (template $data)
 Display actions column.
 
 col_description (template $data)
 Display description column.
 
 col_enabled (template $data)
 Display enabled column.
 
 col_name (template $data)
 Display name column.
 
 col_used (template $data)
 Display if a template is being used.
 

Detailed Description

Templates table.

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

Constructor & Destructor Documentation

◆ __construct()

quizaccess_seb\local\table\template_list::__construct ( $id = null)

Constructor.

Parameters
string | null$idto be used by the table, autogenerated if null.

Member Function Documentation

◆ col_actions()

quizaccess_seb\local\table\template_list::col_actions ( template $data)
protected

Display actions column.

Parameters
quizaccess_seb\template$dataTemplate for this row.
Return values
string

◆ col_description()

quizaccess_seb\local\table\template_list::col_description ( template $data)
protected

Display description column.

Parameters
quizaccess_seb\template$dataTemplate for this row.
Return values
string

◆ col_enabled()

quizaccess_seb\local\table\template_list::col_enabled ( template $data)
protected

Display enabled column.

Parameters
quizaccess_seb\template$dataTemplate for this row.
Return values
string

◆ col_name()

quizaccess_seb\local\table\template_list::col_name ( template $data)
protected

Display name column.

Parameters
quizaccess_seb\template$dataTemplate for this row.
Return values
string

◆ col_used()

quizaccess_seb\local\table\template_list::col_used ( template $data)
protected

Display if a template is being used.

Parameters
quizaccess_seb\template$dataTemplate for this row.
Return values
string

◆ display()

quizaccess_seb\local\table\template_list::display ( array $records)

Sets the data of the table.

Parameters
quizaccess_seb\template[]$recordsAn array with records.

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