[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/phpbb/cache/driver/ -> xcache.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: 107 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

xcache:: (6 methods):
  __construct()
  purge()
  _read()
  _write()
  _delete()
  _isset()


Class: xcache  - X-Ref

ACM for XCache

To use this module you need ini_get() enabled and the following INI settings configured as follows:
- xcache.var_size > 0
- xcache.admin.enable_auth = off (or xcache.admin.user and xcache.admin.password set)

__construct()   X-Ref
No description

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

_isset($var)   X-Ref
Check if a cache var exists

param: string $var Cache key
return: bool True if it exists, otherwise false



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1