MediaWiki
REL1_39
ConvertContentHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Content\Hook
;
4
5
use
Content
;
6
14
interface
ConvertContentHook
{
30
public
function
onConvertContent
(
$content
, $toModel, $lossy, &$result );
31
}
Content
Base interface for content objects.
Definition
Content.php:35
MediaWiki\Content\Hook\ConvertContentHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ConvertContentHook.php:14
MediaWiki\Content\Hook\ConvertContentHook\onConvertContent
onConvertContent( $content, $toModel, $lossy, &$result)
This hook is called by AbstractContent::convert when a conversion to another content model is request...
MediaWiki\Content\Hook
Definition
ContentAlterParserOutputHook.php:3
$content
$content
Definition
router.php:76
includes
content
Hook
ConvertContentHook.php
Generated on Thu Nov 21 2024 05:22:39 for MediaWiki by
1.10.0