MediaWiki
master
SessionMetadataHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Session\Hook
;
4
5
use
MediaWiki\Request\WebRequest
;
6
use
MediaWiki\Session\SessionBackend
;
7
15
interface
SessionMetadataHook
{
27
public
function
onSessionMetadata
( $backend, &$metadata, $requests );
28
}
MediaWiki\Request\WebRequest
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form,...
Definition
WebRequest.php:51
MediaWiki\Session\SessionBackend
This is the actual workhorse for Session.
Definition
SessionBackend.php:57
MediaWiki\Session\Hook\SessionMetadataHook
This is a hook handler interface, see docs/Hooks.md.
Definition
SessionMetadataHook.php:15
MediaWiki\Session\Hook\SessionMetadataHook\onSessionMetadata
onSessionMetadata( $backend, &$metadata, $requests)
Use this hook to add metadata to a session being saved.
MediaWiki\Session\Hook
Definition
SessionCheckInfoHook.php:3
includes
session
Hook
SessionMetadataHook.php
Generated on Fri Apr 4 2025 14:40:38 for MediaWiki by
1.10.0