MediaWiki
master
MimeMagicGuessFromContentHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use Wikimedia\Mime\MimeAnalyzer;
6
14
interface
MimeMagicGuessFromContentHook
{
28
public
function
onMimeMagicGuessFromContent
( $mimeMagic, &$head, &$tail, $file,
29
&$mime
30
);
31
}
MediaWiki\Hook\MimeMagicGuessFromContentHook
This is a hook handler interface, see docs/Hooks.md.
Definition
MimeMagicGuessFromContentHook.php:14
MediaWiki\Hook\MimeMagicGuessFromContentHook\onMimeMagicGuessFromContent
onMimeMagicGuessFromContent( $mimeMagic, &$head, &$tail, $file, &$mime)
Use this hook to guess the MIME by content.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
MimeMagicGuessFromContentHook.php
Generated on Mon Dec 9 2024 10:23:42 for MediaWiki by
1.10.0