|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onUserLogoutComplete ( $user, &$inject_html, $oldName) | |
| This hook is called after a user has logged out. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UserLogoutComplete" to register handlers implementing this interface.
Definition at line 14 of file UserLogoutCompleteHook.php.
| MediaWiki\Specials\Hook\UserLogoutCompleteHook::onUserLogoutComplete | ( | $user, | |
| & | $inject_html, | ||
| $oldName ) |
This hook is called after a user has logged out.
| User | $user | the user object after logout (won't have name, ID, etc.) |
| string | &$inject_html | Any HTML to inject after the "logged out" message. |
| string | $oldName | name of the user before logout (string) |
Implemented in MediaWiki\HookContainer\HookRunner.