Tracks the progress of the user upload and outputs it in CLI script (writes to STDOUT)
More...
|
| 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.
|
|
|
array | $columns = [] |
| The columns shown on the table.
|
|
|
| output_line (string $line) |
| Output one line (followed by newline)
|
|
|
array | $_row |
|
array | $headers = [] |
| column headers
|
|
Tracks the progress of the user upload and outputs it in CLI script (writes to STDOUT)
- Copyright
- 2020 Marina Glancy
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ close()
tool_uploaduser\local\text_progress_tracker::close |
( |
| ) |
|
|
inherited |
◆ flush()
tool_uploaduser\local\text_progress_tracker::flush |
( |
| ) |
|
|
inherited |
◆ output_line()
tool_uploaduser\local\cli_progress_tracker::output_line |
( |
string | $line | ) |
|
|
protected |
◆ start()
tool_uploaduser\local\text_progress_tracker::start |
( |
| ) |
|
|
inherited |
◆ track()
tool_uploaduser\local\text_progress_tracker::track |
( |
| $col, |
|
|
| $msg, |
|
|
| $level = 'normal', |
|
|
| $merge = true ) |
|
inherited |
Add tracking info.
- Parameters
-
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 |
- Return values
-
Reimplemented from uu_progress_tracker.
The documentation for this class was generated from the following file: