\Pydio\Core\ServicesCacheService

Static access to the caching mechanism. Encapsulates the cacheDriver implementation

Summary

Methods
Properties
Constants
contains()
save()
saveWithTimestamp()
fetch()
fetchMultiple()
fetchWithTimestamps()
delete()
deleteAll()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

contains()

contains(  $namespace,   $id) : boolean

Parameters

$namespace
$id

Returns

boolean

save()

save(  $namespace,   $id,   $object, integer  $timelimit) : boolean

Parameters

$namespace
$id
$object
integer $timelimit

Returns

boolean

saveWithTimestamp()

saveWithTimestamp(  $namespace,   $id,   $object, integer  $timelimit) : boolean

Parameters

$namespace
$id
$object
integer $timelimit

Returns

boolean

fetch()

fetch(  $namespace,   $id) : boolean|mixed

Parameters

$namespace
$id

Returns

boolean|mixed

fetchMultiple()

fetchMultiple(  $namespace, array  $ids) : boolean|mixed

Parameters

$namespace
array $ids

Returns

boolean|mixed

fetchWithTimestamps()

fetchWithTimestamps(  $namespace,   $id, array  $idsToCheck) : boolean|false|mixed

Parameters

$namespace
$id
array $idsToCheck

Returns

boolean|false|mixed

delete()

delete(  $namespace,   $id) : boolean

Parameters

$namespace
$id

Returns

boolean

deleteAll()

deleteAll(  $namespace) : boolean

Parameters

$namespace

Returns

boolean