Moodle  2.2.1
http://www.collinsharper.com
output_controller Class Reference

Public Member Functions

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

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 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.

Definition at line 38 of file output_controller.class.php.


Member Function Documentation

static get_instance ( ) [static]

Definition at line 53 of file output_controller.class.php.

Here is the caller graph for this function:

output ( message,
langfile,
a,
depth 
)

Definition at line 67 of file output_controller.class.php.

set_active ( active)

Definition at line 60 of file output_controller.class.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations