\JCORE\CACHEFILECACHE_API

class FILECACHE_API

Summary

Methods
Properties
Constants
__construct()
getValue()
setValue()
updateSharedValue()
setSharedValue()
getSharedValue()
validateBasicArgs()
verifyArgs()
validateCachePool()
validateCacheKey()
$SOMEVAR
No constants found
No protected methods found
$error
N/A
No private methods found
No private properties found
N/A

Properties

$SOMEVAR

$SOMEVAR : array

SOMEVAR

Type

array

$error

$error : array

error

Type

array

Methods

__construct()

__construct(  $args = null) : null

DESCRIPTOR: __construct

Parameters

$args

Returns

null

getValue()

getValue(  $args = array()) : null

DESCRIPTOR: Does a "Get" on a Memcached resource args is an array that MUST follow this format args["KEY"] = [string]; - a Memcached asset ID args["cas_token"] = &cas_token; - a var passed by reference to return the cas_token used by: updateSharedResource args["cache_cb"] = NULL/[string]; - the call back function. probably not much use for resetting (big tangle, too many functions) BUT could be useful for logging

Parameters

$args

Returns

null

setValue()

setValue(  $args = array()) : null

DESCRIPTOR: Does a "Check and Set" on a shared resource $args is an array that MUST follow this format $args["KEY"] = [string]; - a Memcached asset ID $args["value"] = [mixed]; - a asset to be stored in Memcached $args["expiration"] = [int]; - the call back function. probably not much use for resetting (big tangle, too many functions) BUT could be usefull for logging

Parameters

$args

Returns

null

updateSharedValue()

updateSharedValue(  $args = array()) : boolean

updateSharedValue

Parameters

$args

Returns

boolean

setSharedValue()

setSharedValue(  $args = array()) : boolean

setSharedValue

Parameters

$args

Returns

boolean

getSharedValue()

getSharedValue(  $args = array()) : boolean

getSharedValue

Parameters

$args

Returns

boolean

validateBasicArgs()

validateBasicArgs(  $args = array()) : boolean

validateBasicArgs just check that there are args in the array define it here for re-use

Parameters

$args

Returns

boolean

verifyArgs()

verifyArgs(  $args = array()) : boolean

verifyArgs just check that there are args in the array define it here for re-use

Parameters

$args

Returns

boolean

validateCachePool()

validateCachePool(  $args) : boolean

validateCachePool just check that there are args in the array define it here for re-use

Parameters

$args

Returns

boolean

validateCacheKey()

validateCacheKey(  $args = array()) : boolean

validateCacheKey just check that there are args in the array define it here for re-use

Parameters

$args

Returns

boolean