Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Tracking of processed users. More...
Public Member Functions | |
__construct () | |
uu_progress_tracker constructor. | |
close () | |
Print the table end. | |
flush () | |
Flush previous line and start a new one. | |
start () | |
Print table header. | |
track ($col, $msg, $level='normal', $merge=true) | |
Add tracking info. | |
Public Attributes | |
array | $columns = [] |
The columns shown on the table. | |
Protected Attributes | |
array | $_row |
array | $headers = [] |
column headers | |
Tracking of processed users.
This class prints user information into a html table.
@subpackage admin
uu_progress_tracker::close | ( | ) |
Print the table end.
void |
Reimplemented in tool_uploaduser\local\text_progress_tracker.
uu_progress_tracker::flush | ( | ) |
Flush previous line and start a new one.
void |
Reimplemented in tool_uploaduser\local\text_progress_tracker.
uu_progress_tracker::start | ( | ) |
Print table header.
void |
Reimplemented in tool_uploaduser\local\text_progress_tracker.
uu_progress_tracker::track | ( | $col, | |
$msg, | |||
$level = 'normal', | |||
$merge = true ) |
Add tracking info.
string | $col | name of column |
string | $msg | message |
string | $level | 'normal', 'warning' or 'error' |
bool | $merge | true means add as new line, false means override all previous text of the same type |
void |
Reimplemented in tool_uploaduser\local\text_progress_tracker.