MediaWiki
REL1_39
SessionMetadataHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Session\Hook
;
4
5
use
MediaWiki\Session\SessionBackend
;
6
use
WebRequest
;
7
15
interface
SessionMetadataHook
{
27
public
function
onSessionMetadata
( $backend, &$metadata, $requests );
28
}
MediaWiki\Session\SessionBackend
This is the actual workhorse for Session.
Definition
SessionBackend.php:54
WebRequest
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
Definition
WebRequest.php:44
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 Mon Nov 25 2024 04:24:14 for MediaWiki by
1.10.0