Search moodle.org's
Developer Documentation

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.
  • Differences Between: [Versions 37 and 311]

    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