Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Public Attributes | List of all members
uu_progress_tracker Class Reference

Tracking of processed users. More...

Public Member Functions

 close ()
 Print the table end. More...
 
 flush ()
 Flush previous line and start a new one. More...
 
 start ()
 Print table header. More...
 
 track ($col, $msg, $level='normal', $merge=true)
 Add tracking info. More...
 

Public Attributes

array $columns
 The columns shown on the table. More...
 

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

◆ flush()

uu_progress_tracker::flush ( )

Flush previous line and start a new one.

Return values
void

◆ start()

uu_progress_tracker::start ( )

Print table header.

Return values
void

◆ 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

Member Data Documentation

◆ $columns

array uu_progress_tracker::$columns
Initial value:
= array('status', 'line', 'id', 'username', 'firstname', 'lastname', 'email',
'password', 'auth', 'enrolments', 'suspended', 'theme', 'deleted')

The columns shown on the table.


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