MediaWiki  master
ImgAuthBeforeStreamHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Title;
6 
28  public function onImgAuthBeforeStream( &$title, &$path, &$name, &$result );
29 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
$title
$title
Definition: testCompression.php:38
MediaWiki\Hook\ImgAuthBeforeStreamHook
Stable to implement.
Definition: ImgAuthBeforeStreamHook.php:11
Title
Represents a title within MediaWiki.
Definition: Title.php:41
MediaWiki\Hook\ImgAuthBeforeStreamHook\onImgAuthBeforeStream
onImgAuthBeforeStream(&$title, &$path, &$name, &$result)
This hook is called before a file is streamed to a user, but only when using img_auth....
$path
$path
Definition: NoLocalSettings.php:25