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

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 234 of file ApiTestCase.php.


Member Function Documentation

ApiTestContext::newTestContext ( WebRequest request,
User user = null 
)

Returns a DerivativeContext with the request variables in place.

Parameters:
$requestWebRequest request object including parameters and session
$userUser or null
Returns:
DerivativeContext

Definition at line 243 of file ApiTestCase.php.


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