Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/CheckUser/src/Hook/HookRunner.php
Ðазад
<?php namespace MediaWiki\CheckUser\Hook; use IContextSource; use MediaWiki\CheckUser\CheckUser\Pagers\AbstractCheckUserPager; use MediaWiki\HookContainer\HookContainer; use MediaWiki\User\UserIdentity; use RecentChange; use stdClass; class HookRunner implements CheckUserFormatRowHook, CheckUserSubtitleLinksHook, CheckUserInsertChangesRowHook, CheckUserInsertLogEventRowHook, CheckUserInsertPrivateEventRowHook, CheckUserInsertForRecentChangeHook, SpecialCheckUserGetLinksFromRowHook { private HookContainer $container; /** * @param HookContainer $container */ public function __construct( HookContainer $container ) { $this->container = $container; } /** @inheritDoc */ public function onCheckUserFormatRow( IContextSource $context, stdClass $row, array &$rowItems ) { $this->container->run( 'CheckUserFormatRow', [ $context, $row, &$rowItems ] ); } /** @inheritDoc */ public function onCheckUserSubtitleLinks( IContextSource $context, array &$links ) { $this->container->run( 'CheckUserSubtitleLinks', [ $context, &$links ] ); } /** @inheritDoc */ public function onCheckUserInsertChangesRow( string &$ip, &$xff, array &$row, UserIdentity $user, ?RecentChange $rc ) { $this->container->run( 'CheckUserInsertChangesRow', [ &$ip, &$xff, &$row, $user, $rc ] ); } /** @inheritDoc */ public function onCheckUserInsertLogEventRow( string &$ip, &$xff, array &$row, UserIdentity $user, int $id, ?RecentChange $rc ) { $this->container->run( 'CheckUserInsertLogEventRow', [ &$ip, &$xff, &$row, $user, $id, $rc ] ); } /** @inheritDoc */ public function onCheckUserInsertPrivateEventRow( string &$ip, &$xff, array &$row, UserIdentity $user, ?RecentChange $rc ) { $this->container->run( 'CheckUserInsertPrivateEventRow', [ &$ip, &$xff, &$row, $user, $rc ] ); } /** @inheritDoc */ public function onCheckUserInsertForRecentChange( RecentChange $rc, array &$rcRow ) { $this->container->run( 'CheckUserInsertForRecentChange', [ $rc, &$rcRow ] ); } /** @inheritDoc */ public function onSpecialCheckUserGetLinksFromRow( AbstractCheckUserPager $specialCheckUser, stdClass $row, array &$links ) { $this->container->run( 'SpecialCheckUserGetLinksFromRow', [ $specialCheckUser, $row, &$links ] ); } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка