Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
Public Member Functions | Public Attributes | Protected Attributes | List of all members
uu_progress_tracker Class Reference

Tracking of processed users. More...

Inheritance diagram for uu_progress_tracker:

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
 

Detailed Description

Tracking of processed users.

This class prints user information into a html table.

@subpackage admin

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ close()

uu_progress_tracker::close ( )

Print the table end.

Return values
void

Reimplemented in tool_uploaduser\local\text_progress_tracker.

◆ flush()

uu_progress_tracker::flush ( )

Flush previous line and start a new one.

Return values
void

Reimplemented in tool_uploaduser\local\text_progress_tracker.

◆ start()

uu_progress_tracker::start ( )

Print table header.

Return values
void

Reimplemented in tool_uploaduser\local\text_progress_tracker.

◆ track()

uu_progress_tracker::track (   $col,
  $msg,
  $level = 'normal',
  $merge = true 
)

Add tracking info.

Parameters
string$colname of column
string$msgmessage
string$level'normal', 'warning' or 'error'
bool$mergetrue means add as new line, false means override all previous text of the same type
Return values
void

Reimplemented in tool_uploaduser\local\text_progress_tracker.


The documentation for this class was generated from the following file: