Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Protected Attributes | List of all members
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. More...
 
 finished ()
 Called when the processing is finished.
 
 output ($message, $depth=0)
 Output an progress message in whatever format. More...
 

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

◆ 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: