Differences Between: [Versions 310 and 311] [Versions 39 and 311]
Task log table.
Copyright: | 2018 Andrew Nicols <andrew@nicols.co.uk> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 293 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
task_log_table:: (10 methods):
__construct()
query_db()
col_classname()
col_type()
col_result()
col_timestart()
col_duration()
col_db()
col_actions()
col_userid()
Class: task_log_table - X-Ref
Table to display list of task logs.__construct(string $filter = '', int $resultfilter = null) X-Ref |
Constructor for the task_log table. param: string $filter param: int $resultfilter |
query_db($pagesize, $useinitialsbar = true) X-Ref |
Query the db. Store results in the table object for use by build_table. param: int $pagesize size of page for paginated displayed table. param: bool $useinitialsbar do you want to use the initials bar. Bar |
col_classname($row) X-Ref |
Format the name cell. param: \stdClass $row return: string |
col_type($row) X-Ref |
Format the type cell. param: \stdClass $row return: string |
col_result($row) X-Ref |
Format the timestart cell. param: \stdClass $row return: string |
col_timestart($row) X-Ref |
Format the timestart cell. param: \stdClass $row return: string |
col_duration($row) X-Ref |
Format the duration cell. param: \stdClass $row return: string |
col_db($row) X-Ref |
Format the DB details cell. param: \stdClass $row return: string |
col_actions($row) X-Ref |
Format the actions cell. param: \stdClass $row return: string |
col_userid($row) X-Ref |
Format the user cell. param: \stdClass $row return: string |