Moodle  2.2.1
http://www.collinsharper.com
SimpleErrorTrappingInvoker Class Reference
Inheritance diagram for SimpleErrorTrappingInvoker:
Collaboration diagram for SimpleErrorTrappingInvoker:

Public Member Functions

 SimpleErrorTrappingInvoker (&$invoker)
 invoke ($method)
_createErrorQueue ()

Detailed Description

Definition at line 29 of file errors.php.


Member Function Documentation

Wires up the error queue for a single test.

Returns:
SimpleErrorQueue Queue connected to the test. private

Definition at line 70 of file errors.php.

Here is the call graph for this function:

Here is the caller graph for this function:

invoke ( method)

Invokes a test method and dispatches any untrapped errors. Called back from the visiting runner.

Parameters:
string$methodTest method to call. public

Reimplemented from SimpleInvokerDecorator.

Definition at line 46 of file errors.php.

Here is the call graph for this function:

SimpleErrorTrappingInvoker ( &$  invoker)

Stores the invoker to wrap.

Parameters:
SimpleInvoker$invokerTest method runner.

Definition at line 35 of file errors.php.

Here is the call graph for this function:


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