[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch

title

Body

[close]

/phpbb/cache/driver/ -> memcached.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 148 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

memcached:: (6 methods):
  __construct()
  unload()
  purge()
  _read()
  _write()
  _delete()


Class: memcached  - X-Ref

ACM for Memcached

__construct($memcached_servers = '')   X-Ref
Memcached constructor

param: string $memcached_servers Memcached servers string (optional)

unload()   X-Ref
{@inheritDoc}


purge()   X-Ref
{@inheritDoc}


_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 Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1