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. |
Definition at line 3 of file Bitmap_ClientOnly.php.
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.
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().