See Release Notes
Long Term Support Release
Template cohorts table.
Copyright: | 2015 Frédéric Massart - FMCorz.net |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 185 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
template_cohorts_table:: (7 methods):
__construct()
col_actions()
define_table_columns()
define_table_configs()
get_sql_and_params()
print_nothing_to_display()
query_db()
Class: template_cohorts_table - X-Ref
Template cohorts table class.__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_actions($row) X-Ref |
Column actions. param: object $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. |