a-blog cms PHP API Reference

DatabaseHandler
in package
implements SessionHandlerInterface

Table of Contents

Interfaces

SessionHandlerInterface

Methods

close()  : bool
destroy()  : bool
gc()  : mixed
open()  : bool
read()  : mixed
write()  : bool
isValidSessionId()  : bool
セッションIDとして安全かどうかを検証する

Methods

destroy()

public destroy(mixed $id) : bool
Parameters
$id : mixed
Tags
inheritDoc
Return values
bool

gc()

public gc(mixed $maxlifetime) : mixed
Parameters
$maxlifetime : mixed
Tags
inheritDoc
Attributes
#[ReturnTypeWillChange]

open()

public open(mixed $savePath, mixed $sessionName) : bool
Parameters
$savePath : mixed
$sessionName : mixed
Tags
inheritDoc
Return values
bool

read()

public read(mixed $id) : mixed
Parameters
$id : mixed
Tags
inheritDoc
Attributes
#[ReturnTypeWillChange]

write()

public write(mixed $id, mixed $data) : bool
Parameters
$id : mixed
$data : mixed
Tags
inheritDoc
Return values
bool

isValidSessionId()

セッションIDとして安全かどうかを検証する

private isValidSessionId(string $id) : bool
Parameters
$id : string
Return values
bool

        
On this page

Search results