Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
tool_task\running_tasks_table Class Reference

Table to display list of running task. More...

Inheritance diagram for tool_task\running_tasks_table:

Public Member Functions

 __construct ()
 Constructor for the running tasks table.
 
 col_classname ($row)
 Format the classname cell.
 
 col_progress ($row)
 Format the progress column.
 
 col_time ($row)
 Format the time cell.
 
 col_timestarted ($row)
 Format the timestarted cell.
 
 col_type ($row)
 Format the type cell.
 
 query_db ($pagesize, $useinitialsbar=true)
 Query the db.
 

Detailed Description

Table to display list of running task.

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

Member Function Documentation

◆ col_classname()

tool_task\running_tasks_table::col_classname ( $row)

Format the classname cell.

Parameters
stdClass$row
Return values
string

◆ col_progress()

tool_task\running_tasks_table::col_progress ( $row)

Format the progress column.

Parameters
stdClass$row
Return values
string

◆ col_time()

tool_task\running_tasks_table::col_time ( $row)

Format the time cell.

Parameters
stdClass$row
Return values
string

◆ col_timestarted()

tool_task\running_tasks_table::col_timestarted ( $row)

Format the timestarted cell.

Parameters
stdClass$row
Return values
string

◆ col_type()

tool_task\running_tasks_table::col_type ( $row)

Format the type cell.

Parameters
stdClass$row
Return values
string
Exceptions
coding_exception

◆ query_db()

tool_task\running_tasks_table::query_db ( $pagesize,
$useinitialsbar = true )

Query the db.

Store results in the table object for use by build_table.

Parameters
int$pagesizesize of page for paginated displayed table.
bool$useinitialsbardo you want to use the initials bar. Bar will only be used if there is a fullname column defined for the table.
Exceptions
dml_exception

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