MediaWiki
REL1_37
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:66
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
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 Apr 5 2024 23:40:34 for MediaWiki by
1.9.8