MediaWiki
REL1_35
MimeMagicGuessFromContentHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use MimeAnalyzer;
6
11
interface
MimeMagicGuessFromContentHook
{
25
public
function
onMimeMagicGuessFromContent
( $mimeMagic, &$head, &$tail,
$file
,
26
&
$mime
27
);
28
}
MediaWiki\Hook\MimeMagicGuessFromContentHook
Stable to implement.
Definition
MimeMagicGuessFromContentHook.php:11
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
$mime
$mime
Definition
router.php:60
$file
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition
router.php:42
includes
Hook
MimeMagicGuessFromContentHook.php
Generated on Sat Apr 6 2024 00:07:13 for MediaWiki by
1.9.8