MediaWiki
REL1_35
ConvertContentHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Content\Hook
;
4
5
use
Content
;
6
11
interface
ConvertContentHook
{
27
public
function
onConvertContent
(
$content
, $toModel, $lossy, &$result );
28
}
Content
Base interface for content objects.
Definition
Content.php:35
MediaWiki\Content\Hook\ConvertContentHook
Stable to implement.
Definition
ConvertContentHook.php:11
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 Sat Apr 6 2024 00:07:02 for MediaWiki by
1.9.8