class Metadata (View source)

Constants

CREATED

UPDATED

LIFETIME

Properties

protected $meta

Methods

__construct(string $storageKey = '_rakit_meta')

Konstruktor.

initialize(array $array)

No description

int
getLifetime()

Ambil waktu kedaluwarsa cookie session.

stampNew(int $lifetime = null)

Buat timestamp baru untuk metadata.

string
getStorageKey()

Ambil nama storage key metadata.

int
getCreated()

Ambil timestamp waktu pembuatan.

int
getLastUsed()

Ambil timestamp waktu penggunaan terakhir.

clear()

No description

string
getName()

Ambil nama key metadata.

setName(string $name)

Set nama key metadata.

Details

__construct(string $storageKey = '_rakit_meta')

Konstruktor.

Parameters

string $storageKey

initialize(array $array)

No description

Parameters

array $array

int getLifetime()

Ambil waktu kedaluwarsa cookie session.

Return Value

int

stampNew(int $lifetime = null)

Buat timestamp baru untuk metadata.

Parameters

int $lifetime

string getStorageKey()

Ambil nama storage key metadata.

Return Value

string

int getCreated()

Ambil timestamp waktu pembuatan.

Return Value

int

int getLastUsed()

Ambil timestamp waktu penggunaan terakhir.

Return Value

int

clear()

No description

string getName()

Ambil nama key metadata.

Return Value

string

setName(string $name)

Set nama key metadata.

Parameters

string $name