MediaWiki REL1_39
MimeMagicGuessFromContentHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
5use MimeAnalyzer;
6
28 public function onMimeMagicGuessFromContent( $mimeMagic, &$head, &$tail, $file,
29 &$mime
30 );
31}
This is a hook handler interface, see docs/Hooks.md.
onMimeMagicGuessFromContent( $mimeMagic, &$head, &$tail, $file, &$mime)
Use this hook to guess the MIME by content.
$mime
Definition router.php:60
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition router.php:42