MediaWiki  REL1_19
ApiTestContext Class Reference
Inheritance diagram for ApiTestContext:
Collaboration diagram for ApiTestContext:

List of all members.

Public Member Functions

 newTestContext ($params, $session, $user=null)
 Returns a DerivativeContext with the request variables in place.

Detailed Description

Definition at line 152 of file ApiTestCase.php.


Member Function Documentation

ApiTestContext::newTestContext ( params,
session,
user = null 
)

Returns a DerivativeContext with the request variables in place.

Parameters:
$paramsArray key-value API params
$sessionArray session data
$userUser or null
Returns:
DerivativeContext

Definition at line 162 of file ApiTestCase.php.

References RequestContext\$user.


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