[ Index ]

PHP Cross Reference of MyBB 1.8.37

title

Body

[close]

/inc/cachehandlers/ -> memcached.php (summary)

MyBB 1.8 Copyright 2014 MyBB Group, All Rights Reserved Website: http://www.mybb.com License: http://www.mybb.com/about/license

File Size: 157 lines (3 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

memcachedCacheHandler:: (7 methods):
  __construct()
  connect()
  fetch()
  put()
  delete()
  disconnect()
  size_of()


Class: memcachedCacheHandler  - X-Ref

Memcached Cache Handler
__construct()   X-Ref
Unique identifier representing this copy of MyBB

connect()   X-Ref
Connect and initialize this handler.
return: boolean True if successful, false on failure

fetch($name)   X-Ref
Retrieve an item from the cache.
return: mixed Cache data if successful, false if failure
param: string $name The name of the cache

put($name, $contents)   X-Ref
Write an item to the cache.
return: boolean True on success, false on failure
param: string $name The name of the cache
param: mixed $contents The data to write to the cache item

delete($name)   X-Ref
Delete a cache
return: boolean True on success, false on failure
param: string $name The name of the cache

disconnect()   X-Ref
Disconnect from the cache

size_of($name='')   X-Ref

return: string
param: string $name



2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup Cross-referenced by PHPXref