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\$context
IContextSource $context
Definition:
MediaWiki.php:42
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition:
IContextSource.php:58
MediaWiki\Cache\Hook\HTMLFileCache__useFileCacheHook
This is a hook handler interface, see docs/Hooks.md.
Definition:
HTMLFileCache__useFileCacheHook.php:15
MediaWiki\Cache\Hook\HTMLFileCache__useFileCacheHook\onHTMLFileCache__useFileCache
onHTMLFileCache__useFileCache( $context)
Use this hook to override whether a page should be cached in file cache.
MediaWiki\Cache\Hook
Definition:
BacklinkCacheGetConditionsHook.php:3
includes
cache
Hook
HTMLFileCache__useFileCacheHook.php
Generated on Sat Jul 2 2022 22:08:09 for MediaWiki by
1.9.1