Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/AchievementBadges/includes/Hooks/HookRunner.php
Ðазад
<?php namespace MediaWiki\Extension\AchievementBadges\Hooks; use MediaWiki\HookContainer\HookContainer; use User; class HookRunner implements BeforeCreateAchievementHook, SpecialAchievementsBeforeGetEarnedHook { private HookContainer $hookContainer; public function __construct( HookContainer $hookContainer ) { $this->hookContainer = $hookContainer; } // phpcs:disable MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic public function onBeforeCreateAchievement( array &$achievements ) { return $this->hookContainer->run( 'BeforeCreateAchievement', [ &$achievements ] ); } public function onSpecialAchievementsBeforeGetEarned( User $user ) { return $this->hookContainer->run( 'SpecialAchievementsBeforeGetEarned', [ $user ] ); } // phpcs:enable }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка