[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/includes/acm/ -> acm_redis.php (summary)

(no description)

Copyright: (c) 2011 phpBB Group
License: http://opensource.org/licenses/gpl-license.php GNU Public License
File Size: 145 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

acm:: (6 methods):
  acm()
  unload()
  purge()
  _read()
  _write()
  _delete()


Class: acm  - X-Ref

ACM for Redis

Compatible with the php extension phpredis available
at https://github.com/nicolasff/phpredis

acm()   X-Ref
No description

unload()   X-Ref
Unload the cache resources

return: null

purge()   X-Ref
Purge cache data

return: null

_read($var)   X-Ref
Fetch an item from the cache

param: string $var Cache key
return: mixed Cached data

_write($var, $data, $ttl = 2592000)   X-Ref
Store data in the cache

param: string $var Cache key
param: mixed $data Data to store
param: int $ttl Time-to-live of cached data
return: bool True if the operation succeeded

_delete($var)   X-Ref
Remove an item from the cache

param: string $var Cache key
return: bool True if the operation succeeded



Generated: Wed Oct 2 15:03:47 2013 Cross-referenced by PHPXref 0.7.1