mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°7398 - be able to add custom data in session files generated by SessionHandler
This commit is contained in:
16
sources/SessionTracker/iSessionHandlerExtension.php
Normal file
16
sources/SessionTracker/iSessionHandlerExtension.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Combodo\iTop\SessionTracker;
|
||||
|
||||
interface iSessionHandlerExtension {
|
||||
public function __construct();
|
||||
|
||||
/**
|
||||
* Called by SessionHandler to change data stored in iTop session files
|
||||
* @param array $aJson: previous data stored in session file
|
||||
* @param array $aData: usual session data see @SessionHandler
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function CompleteSessionData(array $aJson, array &$aData) : void;
|
||||
}
|
||||
Reference in New Issue
Block a user