Developer Documentation

See Release Notes

  • 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 310 and 311] [Versions 39 and 311]

Template plans table.

Copyright: 2015 Frédéric Massart -
License: GNU GPL v3 or later
File Size: 193 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

template_plans_table:: (7 methods):

Class: template_plans_table  - X-Ref

Template plans table class.

Note that presently this table may display some rows although the current user
does not have permission to view those plans.

__construct($uniqueid, \core_competency\template $template)   X-Ref
Sets up the table.

param: string $uniqueid Unique id of table.
param: \core_competency\template $template The template.

col_name($row)   X-Ref
Format column name.

param: stdClass $row
return: string

define_table_columns()   X-Ref
Setup the headers for the table.

define_table_configs()   X-Ref
Define table configs.

get_sql_and_params($count = false)   X-Ref
Builds the SQL query.

param: bool $count When true, return the count SQL.
return: array containing sql to use and an array of params.

print_nothing_to_display()   X-Ref
Override the default implementation to set a decent heading level.

query_db($pagesize, $useinitialsbar = true)   X-Ref
Query the DB.

param: int $pagesize size of page for paginated displayed table.
param: bool $useinitialsbar do you want to use the initials bar.