HybridSession
class HybridSession extends BaseStore (View source)
Traits
Provides extensions to this object to integrate it with standard config API methods.
Properties
| protected | string|null | $key | Session secret key  | 
                from BaseStore | 
| protected | SessionHandlerInterface[] | $handlers | List of session handlers  | 
                |
| protected static | bool | $enabled | True if this session store has been initialised  | 
                
Methods
Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .....).
Gets the uninherited value for the given config option
Details
        
                static            Config_ForClass
    config()
        
    
    Get a configuration accessor for this class. Short hand for Config::inst()->get($this->class, .....).
        
                            mixed
    uninherited(string $name)
        
    
    Gets the uninherited value for the given config option
        
                            void
    setKey(string|null $key)
        
    
    Assign a new session secret key
        
                    protected        string|null
    getKey()
        
    
    Get the session secret key
        
                    protected        int
    getLifetime()
        
    
    Get lifetime in number of seconds
        
                    protected        int
    getNow()
        
    
    Gets the current unix timestamp
        
                            HybridSession
    setHandlers(array $handlers)
        
    
    No description
        
                            array
    getHandlers()
        
    
    No description
        
                            bool
    open(string $save_path, string $name)
        
    
    No description
        
                            bool
    close()
        
    
    No description
        
                            string|false
    read(string $session_id)
        
    
    No description
        
                            bool
    write(string $session_id, string $session_data)
        
    
    No description
        
                            bool
    destroy(string $session_id)
        
    
    No description
        
                            int|false
    gc(int $maxlifetime)
        
    
    No description
        
                static            
    init(string $key = null)
        
    
    Register the session handler as the default
        
                static            bool
    is_enabled()
        
    
    No description