[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

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

MyBB 1.6 Copyright 2010 MyBB Group, All Rights Reserved Website: http://mybb.com License: http://mybb.com/about/license

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

Defines 1 class

xcacheCacheHandler:: (7 methods):
  xcacheCacheHandler()
  connect()
  fetch()
  put()
  delete()
  disconnect()
  size_of()


Class: xcacheCacheHandler  - X-Ref

Xcache Cache Handler

xcacheCacheHandler($silent=false)   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, $hard_refresh=false)   X-Ref
Retrieve an item from the cache.

param: string The name of the cache
param: boolean True if we should do a hard refresh
return: mixed Cache data if successful, false if failure

put($name, $contents)   X-Ref
Write an item to the cache.

param: string The name of the cache
param: mixed The data to write to the cache item
return: boolean True on success, false on failure

delete($name)   X-Ref
Delete a cache

param: string The name of the cache
return: boolean True on success, false on failure

disconnect()   X-Ref
Disconnect from the cache


size_of($name)   X-Ref
No description



Generated: Tue Oct 8 19:19:50 2013 Cross-referenced by PHPXref 0.7.1