Model logs table class.
More...
|
string false | $evaluationmode = false |
|
core_analytics model | $model = null |
|
Model logs table class.
- Copyright
- 2017 David Monllao
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
tool_analytics\output\model_logs::__construct |
( |
| $uniqueid, |
|
|
| $model ) |
Sets up the table_log parameters.
- Parameters
-
string | $uniqueid | unique id of form. |
core_analytics::model | $model | |
◆ col_accuracy()
tool_analytics\output\model_logs::col_accuracy |
( |
| $log | ) |
|
Generate the accuracy column.
- Parameters
-
- Return values
-
string | HTML for the accuracy column |
◆ col_evaluationmode()
tool_analytics\output\model_logs::col_evaluationmode |
( |
| $log | ) |
|
Generate the evaluation mode column.
- Parameters
-
- Return values
-
string | HTML for the evaluationmode column |
◆ col_indicators()
tool_analytics\output\model_logs::col_indicators |
( |
| $log | ) |
|
Generate the indicators column.
- Parameters
-
- Return values
-
string | HTML for the indicators column |
◆ col_info()
tool_analytics\output\model_logs::col_info |
( |
| $log | ) |
|
Generate the info column.
- Parameters
-
- Return values
-
string | HTML for the score column |
◆ col_time()
tool_analytics\output\model_logs::col_time |
( |
| $log | ) |
|
Generate the time column.
- Parameters
-
- Return values
-
string | HTML for the time column |
◆ col_timesplitting()
tool_analytics\output\model_logs::col_timesplitting |
( |
| $log | ) |
|
Generate the context column.
- Parameters
-
- Return values
-
string | HTML for the context column |
◆ col_usermodified()
tool_analytics\output\model_logs::col_usermodified |
( |
| $log | ) |
|
Generate the usermodified column.
- Parameters
-
- Return values
-
string | HTML for the usermodified column |
◆ col_version()
tool_analytics\output\model_logs::col_version |
( |
| $log | ) |
|
Generate the version column.
- Parameters
-
- Return values
-
string | HTML for the version column |
◆ query_db()
tool_analytics\output\model_logs::query_db |
( |
| $pagesize, |
|
|
| $useinitialsbar = true ) |
Query the logs table.
Store results in the object for use by build_table.
- 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/analytics/classes/output/model_logs.php