Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5982447
BitmapHandlerTransformHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
846 B
Referenced Files
None
Subscribers
None
BitmapHandlerTransformHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
File
;
use
MediaTransformOutput
;
use
TransformationalImageHandler
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "BitmapHandlerTransform" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
BitmapHandlerTransformHook
{
/**
* This hook is called before a file is transformed, giving extensions the
* possibility to transform it themselves.
*
* @since 1.35
*
* @param TransformationalImageHandler $handler
* @param File $image
* @param array &$scalerParams Array with scaler parameters
* @param null|MediaTransformOutput &$mto
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onBitmapHandlerTransform
(
$handler
,
$image
,
&
$scalerParams
,
&
$mto
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 22:22 (1 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
cd/c1/0dfe50eb1a917d73f3ba6fb5aa39
Default Alt Text
BitmapHandlerTransformHook.php (846 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment