Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Static Public Member Functions | List of all members
output_controller Class Reference

This class decides, based in environment/backup controller settings about the best way to send information to output, independently of the process and the loggers. More...

Public Member Functions

 output ($message, $langfile, $a, $depth)
 
 set_active ($active)
 

Static Public Member Functions

static get_instance ()
 

Detailed Description

This class decides, based in environment/backup controller settings about the best way to send information to output, independently of the process and the loggers.

Instantiated/configured by @backup_controller constructor

Mainly used by backup_helper::log() (that receives all the log requests from the rest of backup objects) to split messages both to loggers and to output.

This class adopts the singleton pattern to be able to provide some persistency and global access.


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