a-blog cms PHP API Reference

ACMS_Session
in package

ACMS_Session is deprecated. Use Acms\Services\Facades\Session instead.

Table of Contents

Properties

$instance  : mixed
$session  : mixed

Methods

clear()  : void
Clear
delete()  : void
Delete
get()  : bool
Get
save()  : void
Save
set()  : void
Set
singleton()  : mixed
__construct()  : mixed
ACMS_Session constructor.

Properties

$instance

protected static mixed $instance = []

$session

protected mixed $session = \null

Methods

delete()

Delete

public delete(string $key) : void
Parameters
$key : string

get()

Get

public get(string $key) : bool
Parameters
$key : string
Return values
bool

set()

Set

public set(string $key, mixed $val) : void
Parameters
$key : string
$val : mixed

singleton()

public static singleton([mixed $config = [] ]) : mixed
Parameters
$config : mixed = []

__construct()

ACMS_Session constructor.

private __construct() : mixed

        
On this page

Search results