Docs Goabase

Cache
in package

Table of Contents

Properties

$memCache  : mixed

Methods

getData()  : mixed
Get data cache Used as a direct call on 35 places
getResultOrSql()  : mixed
getValOrSQL()  : mixed
Get single value from SQL table column Used as a direct call on 32 places
setData()  : void
Set data cache Used as a direct call on 35 places
startMemCached()  : Memcached

Properties

$memCache

private static mixed $memCache

Methods

getData()

Get data cache Used as a direct call on 35 places

public static getData(mixed $key) : mixed
Parameters
$key : mixed

getResultOrSql()

public static getResultOrSql(string $strSQL[, int $expire = 1800 ]) : mixed
Parameters
$strSQL : string
$expire : int = 1800

getValOrSQL()

Get single value from SQL table column Used as a direct call on 32 places

public static getValOrSQL(string $strSQL[, int $expire = 1800 ]) : mixed
Parameters
$strSQL : string
  • SQL statement
$expire : int = 1800

setData()

Set data cache Used as a direct call on 35 places

public static setData(mixed $key, mixed $data[, int $expire = 1800 ]) : void
Parameters
$key : mixed
$data : mixed
$expire : int = 1800
  • 1800 seconds default

startMemCached()

private static startMemCached() : Memcached
Return values
Memcached

        
On this page

Search results