class WindwalkerAdapter extends AbstractDatabaseAdapter (View source)

The WindwalkerAdapter class.

Methods

__construct(object $db, array $options = array())

Class init.

string
read(string|int $id)

read

boolean
write(string|int $id, string $data)

write

boolean
destroy(string|int $id)

destroy

bool
gc(string $past)

gc

object
getDb()

getDb

Details

at line line 33
__construct(object $db, array $options = array())

Class init.

Parameters

object $db
array $options

at line line 45
string read(string|int $id)

read

Parameters

string|int $id

Return Value

string

at line line 66
boolean write(string|int $id, string $data)

write

Parameters

string|int $id
string $data

Return Value

boolean

at line line 95
boolean destroy(string|int $id)

destroy

Parameters

string|int $id

Return Value

boolean

at line line 114
bool gc(string $past)

gc

Parameters

string $past

Return Value

bool

object getDb()

getDb

Return Value

object

AbstractDatabaseAdapter setDb(object $db)

setDb

Parameters

object $db

Return Value

AbstractDatabaseAdapter Return self to support chaining.