Template plans table class.
More...
|
| col_name ($row) |
| Format column name.
|
|
| define_table_columns () |
| Setup the headers for the table.
|
|
| define_table_configs () |
| Define table configs.
|
|
| get_sql_and_params ($count=false) |
| Builds the SQL query.
|
|
|
context | $context |
| The context.
|
|
core_competency template | $template |
| The template.
|
|
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.
- Copyright
- 2015 Frédéric Massart - FMCorz.net
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
Sets up the table.
- Parameters
-
◆ col_name()
tool_lp\output\template_plans_table::col_name |
( |
| $row | ) |
|
|
protected |
Format column name.
- Parameters
-
- Return values
-
◆ get_sql_and_params()
tool_lp\output\template_plans_table::get_sql_and_params |
( |
| $count = false | ) |
|
|
protected |
Builds the SQL query.
- Parameters
-
bool | $count | When true, return the count SQL. |
- Return values
-
array | containing sql to use and an array of params. |
◆ query_db()
tool_lp\output\template_plans_table::query_db |
( |
| $pagesize, |
|
|
| $useinitialsbar = true ) |
Query the DB.
- Parameters
-
int | $pagesize | size of page for paginated displayed table. |
bool | $useinitialsbar | do you want to use the initials bar. |
The documentation for this class was generated from the following file:
- admin/tool/lp/classes/output/template_plans_table.php