CoreSession
    
            
            in package
            
        
    
    
    
$this->core->session Class to manage session
Table of Contents
Properties
Methods
- __construct() : mixed
- CoreSession constructor
- delete() : mixed
- delete a variable from session
- get() : mixed|null
- get a variable from session
- init() : mixed
- init the session
- set() : mixed
- set a variable from session
Properties
$core
    public
        Core7
    $core
    
    
    
    
$debug
    public
        bool
    $debug
     = \false
    
        if true the class will send to $core->logs the use of the methods
$id
    public
        string
    $id
     = ''
    
        Id of the session
$start
    public
        bool
    $start
     = \false
    
        says if the session has been started
Methods
__construct()
CoreSession constructor
    public
                    __construct(Core7 &$core[, null $debug = null ]) : mixed
    Parameters
- $core : Core7
- 
                    Core7 class passed by reference 
- $debug : null = null
- 
                    if true it will send to $core->logs the use of the methods 
delete()
delete a variable from session
    public
                    delete( $var) : mixed
    Parameters
get()
get a variable from session
    public
                    get( $var) : mixed|null
    Parameters
Return values
mixed|nullinit()
init the session
    public
                    init([string $id = '' ]) : mixed
    Parameters
- $id : string = ''
- 
                    optional paramater to assign a session_id 
set()
set a variable from session
    public
                    set( $var,  $value) : mixed