Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
combined_progress_trace Class Reference

Special type of trace that can be used for redirecting to multiple other traces. More...

Inheritance diagram for combined_progress_trace:
progress_trace

Public Member Functions

 __construct (array $traces)
 Constructs a new instance.
 
 finished ()
 Called when the processing is finished.
 
 output ($message, $depth=0)
 Output an progress message in whatever format.
 

Protected Attributes

array $traces
 An array of traces.
 

Detailed Description

Special type of trace that can be used for redirecting to multiple other traces.

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

Constructor & Destructor Documentation

◆ __construct()

combined_progress_trace::__construct ( array $traces)

Constructs a new instance.

Parameters
array$tracesmultiple traces

Member Function Documentation

◆ finished()

combined_progress_trace::finished ( )

Called when the processing is finished.

Reimplemented from progress_trace.

◆ output()

combined_progress_trace::output ( $message,
$depth = 0 )

Output an progress message in whatever format.

Parameters
string$messagethe message to output.
integer$depthindent depth for this message.

Reimplemented from progress_trace.


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