MediaWiki
REL1_35
FileTransformedHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
File
;
6
use
MediaTransformOutput
;
7
12
interface
FileTransformedHook
{
24
public
function
onFileTransformed
(
$file
, $thumb, $tmpThumbPath, $thumbPath );
25
}
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
MediaWiki\Hook\FileTransformedHook
Stable to implement.
Definition
FileTransformedHook.php:12
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
$file
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition
router.php:42
includes
filerepo
Hook
FileTransformedHook.php
Generated on Sat Apr 6 2024 00:07:10 for MediaWiki by
1.9.8