< Manual:Hooks
XmlDumpWriterOpenPage | |
---|---|
Available from version 1.16.0 Called at the end of XmlDumpWriter::openPage, to allow extra metadata to be added. | |
Define function: | public static function onXmlDumpWriterOpenPage( $obj, &$out, $row, $title ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"XmlDumpWriterOpenPage": "MyExtensionHooks::onXmlDumpWriterOpenPage"
}
}
|
Called from: | File(s): export/XmlDumpWriter.php |
Interface: | XmlDumpWriterOpenPageHook.php |
For more information about attaching hooks, see Manual:Hooks
For examples of extensions using this hook, see Category:XmlDumpWriterOpenPage extensions.
Details
- $obj: The XmlDumpWriter object.
- &$out: The output string.
- $row: The database row for the page.
- $title: The title of the page.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.