Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/Math/src/Hooks/HookRunner.php
Ðазад
<?php namespace MediaWiki\Extension\Math\Hooks; use MediaWiki\Extension\Math\MathRenderer; use MediaWiki\HookContainer\HookContainer; use MediaWiki\Parser\Parser; use stdClass; /** * This is a hook runner class, see docs/Hooks.md in core. * @internal */ class HookRunner implements MathFormulaPostRenderHook, MathRenderingResultRetrievedHook { private HookContainer $hookContainer; public function __construct( HookContainer $hookContainer ) { $this->hookContainer = $hookContainer; } /** * @inheritDoc */ public function onMathFormulaPostRender( Parser $parser, MathRenderer $renderer, string &$renderedMath ) { return $this->hookContainer->run( 'MathFormulaPostRender', [ $parser, $renderer, &$renderedMath ] ); } /** * @inheritDoc */ public function onMathRenderingResultRetrieved( MathRenderer &$renderer, stdClass &$jsonResult ) { return $this->hookContainer->run( 'MathRenderingResultRetrieved', [ &$renderer, &$jsonResult ] ); } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка