MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\Api\ApiHookRunner, and 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\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\Api\ApiHookRunner, and MediaWiki\HookContainer\HookRunner.