BitmapHandler_ClientOnly Class Reference

Inherits BitmapHandler.

List of all members.

Public Member Functions

 normaliseParams ($image, &$params)
 Changes the parameter array as necessary, ready for transformation.
 doTransform ($image, $dstPath, $dstUrl, $params, $flags=0)
 Get a MediaTransformOutput object representing the transformed output.


Detailed Description

Definition at line 3 of file Bitmap_ClientOnly.php.


Member Function Documentation

BitmapHandler_ClientOnly::doTransform ( image,
dstPath,
dstUrl,
params,
flags = 0 
)

Get a MediaTransformOutput object representing the transformed output.

Does the transform unless $flags contains self::TRANSFORM_LATER.

Parameters:
Image $image The image object
string $dstPath Filesystem destination path
string $dstUrl Destination URL to use in output HTML
array $params Arbitrary set of parameters validated by $this->validateParam()
integer $flags A bitfield, may contain self::TRANSFORM_LATER

Reimplemented from BitmapHandler.

Definition at line 8 of file Bitmap_ClientOnly.php.

References normaliseParams().

BitmapHandler_ClientOnly::normaliseParams ( image,
&$  params 
)

Changes the parameter array as necessary, ready for transformation.

Should be idempotent. Returns false if the parameters are unacceptable and the transform should fail

Reimplemented from BitmapHandler.

Definition at line 4 of file Bitmap_ClientOnly.php.

Referenced by doTransform().


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

Generated on Sat Sep 5 02:08:33 2009 for MediaWiki by  doxygen 1.5.9