MediaWiki
REL1_35
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
12
interface
SessionMetadataHook
{
24
public
function
onSessionMetadata
( $backend, &$metadata, $requests );
25
}
MediaWiki\Session\SessionBackend
This is the actual workhorse for Session.
Definition
SessionBackend.php:52
WebRequest
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
Definition
WebRequest.php:42
MediaWiki\Session\Hook\SessionMetadataHook
Stable to implement.
Definition
SessionMetadataHook.php:12
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 Sat Apr 6 2024 00:07:49 for MediaWiki by
1.9.8