< Manual:Hooks 
 
      | ParserGetVariableValueTs | |
|---|---|
| Available from version 1.6.0 use this to change the value of the time for the {{LOCAL...}} magic word | |
| Define function: | public static function onParserGetVariableValueTs( &$parser, &$time ) { ... }
 | 
| Attach hook: | In extension.json: {
	"Hooks": {
		"ParserGetVariableValueTs": "MyExtensionHooks::onParserGetVariableValueTs"
	}
}
 | 
| Called from: | File(s): Parser.php | 
| Interface: | ParserGetVariableValueTsHook.php | 
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:ParserGetVariableValueTs extensions.
Details
- &$parser: Parser object
- &$time: actual time (timestamp)
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.