[ Index ]

PHP Cross Reference of MyBB 1.8.38

title

Body

[close]

/inc/cachehandlers/ -> disk.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: 126 lines (3 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

diskCacheHandler:: (6 methods):
  connect()
  fetch()
  put()
  delete()
  disconnect()
  size_of()


Class: diskCacheHandler  - X-Ref

Disk Cache Handler
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
return: bool

size_of($name='')   X-Ref
Select the size of the disk cache
return: integer the size of the disk cache
param: string $name The name of the cache



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