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

Table to show the list of tours. More...

Inheritance diagram for tool_usertours\local\table\tour_list:

Public Member Functions

 __construct ()
 Construct the tour table.
 

Protected Member Functions

 col_actions (tour $tour)
 Format the current row's actions column.
 
 col_appliesto (tour $tour)
 Format the current row's appliesto column.
 
 col_description (tour $tour)
 Format the current row's description column.
 
 col_enabled (tour $tour)
 Format the current row's enabled column.
 
 col_name (tour $tour)
 Format the current row's name column.
 

Protected Attributes

int int $tourcount = 0
 The count of all tours.
 

Detailed Description

Table to show the list of tours.

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

Member Function Documentation

◆ col_actions()

tool_usertours\local\table\tour_list::col_actions ( tour $tour)
protected

Format the current row's actions column.

Parameters
tour$tourThe tour for this row.
Return values
string

◆ col_appliesto()

tool_usertours\local\table\tour_list::col_appliesto ( tour $tour)
protected

Format the current row's appliesto column.

Parameters
tour$tourThe tour for this row.
Return values
string

◆ col_description()

tool_usertours\local\table\tour_list::col_description ( tour $tour)
protected

Format the current row's description column.

Parameters
tour$tourThe tour for this row.
Return values
string

◆ col_enabled()

tool_usertours\local\table\tour_list::col_enabled ( tour $tour)
protected

Format the current row's enabled column.

Parameters
tour$tourThe tour for this row.
Return values
string

◆ col_name()

tool_usertours\local\table\tour_list::col_name ( tour $tour)
protected

Format the current row's name column.

Parameters
tour$tourThe tour for this row.
Return values
string

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