MediaWiki  REL1_24
MockBitmapHandler Class Reference
Inheritance diagram for MockBitmapHandler:
Collaboration diagram for MockBitmapHandler:

List of all members.

Public Member Functions

 doClientImage ($image, $scalerParams)
 doTransform ($image, $dstPath, $dstUrl, $params, $flags=0)
 Create a thumbnail.

Detailed Description

Definition at line 24 of file MockBitmapHandler.php.


Member Function Documentation

MockBitmapHandler::doClientImage ( image,
scalerParams 
)
MockBitmapHandler::doTransform ( image,
dstPath,
dstUrl,
params,
flags = 0 
)

Create a thumbnail.

This sets up various parameters, and then calls a helper method based on $this->getScalerType in order to scale the image.

Parameters:
File$image
string$dstPath
string$dstUrl
array$params
int$flags
Returns:
MediaTransformError|ThumbnailImage|TransformParameterError

Reimplemented from TransformationalImageHandler.

Definition at line 25 of file MockBitmapHandler.php.

References $flags, $params, and MockImageHandler\doFakeTransform().


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