Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
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. More...
 
 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

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