MediaWiki
REL1_35
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
13
interface
BitmapHandlerTransformHook
{
26
public
function
onBitmapHandlerTransform
( $handler, $image, &$scalerParams,
27
&$mto
28
);
29
}
File
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition
File.php:63
MediaTransformOutput
Base class for the output of MediaHandler::doTransform() and File::transform().
Definition
MediaTransformOutput.php:30
TransformationalImageHandler
Handler for images that need to be transformed.
Definition
TransformationalImageHandler.php:39
MediaWiki\Hook\BitmapHandlerTransformHook
Stable to implement.
Definition
BitmapHandlerTransformHook.php:13
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 Sat Apr 6 2024 00:07:31 for MediaWiki by
1.9.8