MediaWiki REL1_35
FileTransformedHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use File;
7
24 public function onFileTransformed( $file, $thumb, $tmpThumbPath, $thumbPath );
25}
Implements some public methods and some protected utility functions which are required by multiple ch...
Definition File.php:63
Base class for the output of MediaHandler::doTransform() and File::transform().
onFileTransformed( $file, $thumb, $tmpThumbPath, $thumbPath)
This hook is called when a file is transformed and moved into storage.
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition router.php:42