Méthode | Description | |
---|---|---|
__construct ( ) : void | Class Constructor | |
get ( string $key ) : string | Get Session | |
get_id ( ) : string | Get Session ID | |
get_session_expiration ( ) : string | Get Session Expiration | |
init ( ) : array | Session Init | |
maybe_start_session ( ) : void | Maybe Start Session | |
set ( string $key, string $value ) : mixed | Set Session | |
set_expiration_time ( ) : integer | Set Cookie Expiration | |
set_expiration_variant_time ( ) : integer | Set Cookie Variant Time | |
set_session_cookies ( ) | Set Session Cookies | |
should_start_session ( ) : boolean | Should Start Session | |
use_php_sessions ( ) : boolean | Starts a new session if one has not started yet. |
public __construct ( ) : void | ||
Résultat | void |
public get_session_expiration ( ) : string | ||
Résultat | string | Formatted expiration date string. |
public maybe_start_session ( ) : void | ||
Résultat | void |
public set_expiration_time ( ) : integer | ||
Résultat | integer |
public set_expiration_variant_time ( ) : integer | ||
Résultat | integer |
public set_session_cookies ( ) |
public should_start_session ( ) : boolean | ||
Résultat | boolean |
public use_php_sessions ( ) : boolean | ||
Résultat | boolean | $ret True if we are using PHP sessions, false otherwise. |