mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 13:49:56 +09:00
Add generic getter and setter methods
This commit is contained in:
parent
7816062044
commit
2f5d51076c
1 changed files with 23 additions and 0 deletions
|
|
@ -14,6 +14,29 @@ class Session
|
|||
protected static $_must_create = false;
|
||||
protected static $_must_refresh = false;
|
||||
|
||||
/**
|
||||
* Get a session variable.
|
||||
*
|
||||
* @param string $key
|
||||
* @return mixed
|
||||
*/
|
||||
public static function get($key)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a session variable.
|
||||
*
|
||||
* @param string $key
|
||||
* @param mixed $value
|
||||
* @return void
|
||||
*/
|
||||
public static function set($key, $value)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Start the session.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue