MediaWiki  master
MediaWiki\Hook\ParserGetVariableValueTsHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\ParserGetVariableValueTsHook:

Public Member Functions

 onParserGetVariableValueTs ( $parser, &$time)
 Use this hook to change the value of the time for the {{LOCAL...}} magic word. More...
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "ParserGetVariableValueTs" to register handlers implementing this interface.

Stable to implement

Definition at line 14 of file ParserGetVariableValueTsHook.php.

Member Function Documentation

◆ onParserGetVariableValueTs()

MediaWiki\Hook\ParserGetVariableValueTsHook::onParserGetVariableValueTs (   $parser,
$time 
)

Use this hook to change the value of the time for the {{LOCAL...}} magic word.

Since
1.35
Parameters
Parser$parser
string&$timeActual time (timestamp)
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: