MediaWiki
REL1_37
ParserGetVariableValueSwitchHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
Parser
;
6
use
PPFrame
;
7
15
interface
ParserGetVariableValueSwitchHook
{
30
public
function
onParserGetVariableValueSwitch
( $parser, &$variableCache,
31
$magicWordId, &$ret, $frame
32
);
33
}
Parser
PHP Parser - Processes wiki markup (which uses a more user-friendly syntax, such as "[[link]]" for ma...
Definition
Parser.php:91
MediaWiki\Hook\ParserGetVariableValueSwitchHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ParserGetVariableValueSwitchHook.php:15
MediaWiki\Hook\ParserGetVariableValueSwitchHook\onParserGetVariableValueSwitch
onParserGetVariableValueSwitch( $parser, &$variableCache, $magicWordId, &$ret, $frame)
This hook is called when the parser needs the value of a custom magic word.
PPFrame
Definition
PPFrame.php:28
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
parser
Hook
ParserGetVariableValueSwitchHook.php
Generated on Fri Apr 5 2024 23:40:40 for MediaWiki by
1.9.8