MediaWiki
master
HTMLFileCache__useFileCacheHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Cache\Hook
;
4
5
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6
use
IContextSource
;
7
15
interface
HTMLFileCache__useFileCacheHook
{
25
public
function
onHTMLFileCache__useFileCache
(
$context
);
26
}
MediaWiki\Cache\Hook
Definition:
BacklinkCacheGetConditionsHook.php:3
MediaWiki\Cache\Hook\HTMLFileCache__useFileCacheHook
This is a hook handler interface, see docs/Hooks.md.
Definition:
HTMLFileCache__useFileCacheHook.php:15
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition:
IContextSource.php:57
MediaWiki\$context
IContextSource $context
Definition:
MediaWiki.php:39
MediaWiki\Cache\Hook\HTMLFileCache__useFileCacheHook\onHTMLFileCache__useFileCache
onHTMLFileCache__useFileCache( $context)
Use this hook to override whether a page should be cached in file cache.
includes
cache
Hook
HTMLFileCache__useFileCacheHook.php
Generated on Fri Mar 5 2021 09:08:12 for MediaWiki by
1.8.19