PluginProbe
File Manager Pro – Filester / 2.1.3
File Manager Pro – Filester v2.1.3
2.1.3 2.1.2 2.1.1 trunk 1.6.1 1.7.6 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9 2.0 2.0.1 2.0.2 2.1.0
filester / includes / File_manager / lib / php / elFinderSessionInterface.php
elFinderSessionInterface.php
59 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * elFinder - file manager for web.
5 * Session Wrapper Interface.
6 *
7 * @package elfinder
8 * @author Naoki Sawada
9 **/
10
11 interface elFinderSessionInterface
12 {
13 /**
14 * Session start
15 *
16 * @return self
17 **/
18 public function start();
19
20 /**
21 * Session write & close
22 *
23 * @return self
24 **/
25 public function close();
26
27 /**
28 * Get session data
29 * This method must be equipped with an automatic start / close.
30 *
31 * @param string $key Target key
32 * @param mixed $empty Return value of if session target key does not exist
33 * and explicit $empty can be used as a type hint
34 *
35 * @return mixed
36 **/
37 public function get($key, $empty = null);
38
39 /**
40 * Set session data
41 * This method must be equipped with an automatic start / close.
42 *
43 * @param string $key Target key
44 * @param mixed $data Value
45 *
46 * @return self
47 **/
48 public function set($key, $data);
49
50 /**
51 * Get session data
52 *
53 * @param string $key Target key
54 *
55 * @return self
56 **/
57 public function remove($key);
58 }
59