Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

Table to show the list of tours.

Copyright: 2016 Andrew Nicols <andrew@nicols.co.uk>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 155 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

tour_list:: (6 methods):
  __construct()
  col_name()
  col_description()
  col_appliesto()
  col_enabled()
  col_actions()


Class: tour_list  - X-Ref

Table to show the list of tours.

__construct()   X-Ref
Construct the tour table.


col_name(tour $tour)   X-Ref
Format the current row's name column.

param: tour    $tour       The tour for this row.
return: string

col_description(tour $tour)   X-Ref
Format the current row's description column.

param: tour    $tour       The tour for this row.
return: string

col_appliesto(tour $tour)   X-Ref
Format the current row's appliesto column.

param: tour    $tour       The tour for this row.
return: string

col_enabled(tour $tour)   X-Ref
Format the current row's enabled column.

param: tour    $tour       The tour for this row.
return: string

col_actions(tour $tour)   X-Ref
Format the current row's actions column.

param: tour    $tour       The tour for this row.
return: string