MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onParserGetVariableValueTs ( $parser, &$time) | |
Use this hook to change the value of the time for time-related magic words, ie {{CURRENTMONTH}}, {{LOCALMONTH}}, etc. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ParserGetVariableValueTs" to register handlers implementing this interface.
Definition at line 14 of file ParserGetVariableValueTsHook.php.
MediaWiki\Hook\ParserGetVariableValueTsHook::onParserGetVariableValueTs | ( | $parser, | |
& | $time ) |
Use this hook to change the value of the time for time-related magic words, ie {{CURRENTMONTH}}, {{LOCALMONTH}}, etc.
Parser | $parser | |
string | &$time | Actual time (timestamp) in TS_UNIX format |
Implemented in MediaWiki\HookContainer\HookRunner.