[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/objectcache/ -> HashBagOStuff.php (summary)

Object caching using PHP arrays. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

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

Defines 1 class

HashBagOStuff:: (6 methods):
  __construct()
  expire()
  get()
  set()
  cas()
  delete()


Class: HashBagOStuff  - X-Ref

This is a test of the interface, mainly. It stores things in an associative
array, which is not going to persist between program runs.

__construct()   X-Ref
No description

expire( $key )   X-Ref

param: string $key
return: bool

get( $key, &$casToken = null )   X-Ref

param: string $key
param: mixed $casToken [optional]
return: bool|mixed

set( $key, $value, $exptime = 0 )   X-Ref

param: string $key
param: mixed $value
param: int $exptime
return: bool

cas( $casToken, $key, $value, $exptime = 0 )   X-Ref

param: mixed $casToken
param: string $key
param: mixed $value
param: int $exptime
return: bool

delete( $key, $time = 0 )   X-Ref

param: string $key
param: int $time
return: bool



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1