MediaWiki
master
BitmapHandlerTransformHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
File
;
6
use
MediaTransformOutput
;
7
use
TransformationalImageHandler
;
8
16
interface
BitmapHandlerTransformHook
{
29
public
function
onBitmapHandlerTransform
( $handler, $image, &$scalerParams,
30
&$mto
31
);
32
}
MediaWiki\Hook
Definition:
ActionBeforeFormDisplayHook.php:3
TransformationalImageHandler
Handler for images that need to be transformed.
Definition:
TransformationalImageHandler.php:39
File
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition:
File.php:63
MediaWiki\Hook\BitmapHandlerTransformHook\onBitmapHandlerTransform
onBitmapHandlerTransform( $handler, $image, &$scalerParams, &$mto)
This hook is called before a file is transformed, giving extensions the possibility to transform it t...
MediaTransformOutput
Base class for the output of MediaHandler::doTransform() and File::transform().
Definition:
MediaTransformOutput.php:30
MediaWiki\Hook\BitmapHandlerTransformHook
This is a hook handler interface, see docs/Hooks.md.
Definition:
BitmapHandlerTransformHook.php:16
includes
media
Hook
BitmapHandlerTransformHook.php
Generated on Fri Mar 5 2021 09:09:15 for MediaWiki by
1.8.19