MediaWiki
REL1_35
ApiFormatHighlightHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Api\Hook
;
4
5
use
IContextSource
;
6
11
interface
ApiFormatHighlightHook
{
24
public
function
onApiFormatHighlight
( $context, $text,
$mime
, $format );
25
}
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:55
MediaWiki\Api\Hook\ApiFormatHighlightHook
Stable to implement.
Definition
ApiFormatHighlightHook.php:11
MediaWiki\Api\Hook\ApiFormatHighlightHook\onApiFormatHighlight
onApiFormatHighlight( $context, $text, $mime, $format)
Use this hook to syntax-highlight API pretty-printed output.
MediaWiki\Api\Hook
Definition
APIAfterExecuteHook.php:3
$mime
$mime
Definition
router.php:60
includes
api
Hook
ApiFormatHighlightHook.php
Generated on Sat Apr 6 2024 00:06:54 for MediaWiki by
1.9.8