Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 401 and 402] [Versions 401 and 403]

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: 151 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