MediaWiki
REL1_37
ApiFormatHighlightHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Api\Hook
;
4
5
use
IContextSource
;
6
14
interface
ApiFormatHighlightHook
{
27
public
function
onApiFormatHighlight
( $context, $text,
$mime
, $format );
28
}
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:58
MediaWiki\Api\Hook\ApiFormatHighlightHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ApiFormatHighlightHook.php:14
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 Fri Apr 5 2024 23:40:02 for MediaWiki by
1.9.8