MediaWiki
REL1_39
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
}
File
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition
File.php:67
MediaTransformOutput
Base class for the output of MediaHandler::doTransform() and File::transform().
Definition
MediaTransformOutput.php:34
TransformationalImageHandler
Handler for images that need to be transformed.
Definition
TransformationalImageHandler.php:41
MediaWiki\Hook\BitmapHandlerTransformHook
This is a hook handler interface, see docs/Hooks.md.
Definition
BitmapHandlerTransformHook.php:16
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...
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
media
Hook
BitmapHandlerTransformHook.php
Generated on Fri Nov 29 2024 06:23:35 for MediaWiki by
1.10.0