MediaWiki
master
FileTransformedHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaTransformOutput
;
6
use
MediaWiki\FileRepo\File\File
;
7
15
interface
FileTransformedHook
{
27
public
function
onFileTransformed
( $file, $thumb, $tmpThumbPath, $thumbPath );
28
}
MediaTransformOutput
Base class for the output of MediaHandler::doTransform() and File::transform().
Definition
MediaTransformOutput.php:38
MediaWiki\FileRepo\File\File
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition
File.php:93
MediaWiki\Hook\FileTransformedHook
This is a hook handler interface, see docs/Hooks.md.
Definition
FileTransformedHook.php:15
MediaWiki\Hook\FileTransformedHook\onFileTransformed
onFileTransformed( $file, $thumb, $tmpThumbPath, $thumbPath)
This hook is called when a file is transformed and moved into storage.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
filerepo
Hook
FileTransformedHook.php
Generated on Sun Mar 23 2025 20:23:52 for MediaWiki by
1.10.0