MediaWiki
master
Toggle main menu visibility
ApiFormatHighlightHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Api\Hook;
4
5
use MediaWiki\Context\IContextSource;
6
14
interface
ApiFormatHighlightHook
{
27
public
function
onApiFormatHighlight
( $context, $text, $mime, $format );
28
}
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.
includes
Api
Hook
ApiFormatHighlightHook.php
Generated on
for MediaWiki by
1.18.0