Full index

Package indexes


a c d f g i l m n s u v
a
top
add
LinkedCacheSet::add() in LinkedCacheSet.php
Adds the specified element to the end of the set. The internal pointer is updated to the position of the element (last in the set).
add
CacheSet::add() in CacheSet.php
Adds the specified element to the end of the set.
c
top
$cache
CacheSet::$cache in CacheSet.php
$cache_servers
$cache_servers in properties.php
Defines the memcached servers.
Cache
Cache in Cache.php
Wraps the major functionality of the Memcache class provided by the pecl_memcache extension. An instance of this class should be retrieved using CacheFactory, which maintains a static reference throughout the request.
Cache.php
Cache.php in Cache.php
CacheFactory
CacheFactory in CacheFactory.php
Factory class for providing access to a static Cache object. This provides a nice way to intantiate only one instance of Cache per request.
CacheFactory.php
CacheFactory.php in CacheFactory.php
CacheSet
CacheSet in CacheSet.php
Quasi-equivalent (superior in some repects) to Java's HashSet. Uses memcached as a storage mechanism for persisting set data beyond the scope of the current request.
CacheSet.php
CacheSet.php in CacheSet.php
CACHE_COMPRESSION
CACHE_COMPRESSION in properties.php
Defines the use of memcached's built-in compression, which can be useful for storing large values. Default is false, which disables compression.
CACHE_EXPIRATION
CACHE_EXPIRATION in properties.php
Defines the lifetime (in seconds) of objects in the cache. Default is 0, which means that objects will never expire.
contains
CacheSet::contains() in CacheSet.php
Returns true if the specified element is contained within the set, or false otherwise.
copy
CacheSet::copy() in CacheSet.php
Creates a copy (clone) of the internal set. As changes to the copy are not persisted in the cache, this is used mainly for performing read/sort operations externally on the set.
current
LinkedCacheSet::current() in LinkedCacheSet.php
Returns the element referenced by the internal pointer, or null if there is no element at the current position.
d
top
delete
LinkedCacheSet::delete() in LinkedCacheSet.php
Deletes and returns the specified element from the set, or returns null if the element does not exist. The internal pointer is updated to the first element in the set.
delete
CacheSet::delete() in CacheSet.php
Deletes and returns the specified element from the set, or returns null if the element does not exist.
delete
Cache::delete() in Cache.php
Deletes the specified element from the cache.
f
top
first
LinkedCacheSet::first() in LinkedCacheSet.php
Updates the internal pointer to the first element in the set and returns that element, or false if the set is empty.
flush
Cache::flush() in Cache.php
Flushes the entire cache.
g
top
get
Cache::get() in Cache.php
Retrieves the specified element from the cache, or null if the element does not exist.
get
CacheSet::get() in CacheSet.php
Returns the specified element from the set, or null if the element does not exist.
getInstance
CacheFactory::getInstance() in CacheFactory.php
Returns an instance of Cache
i
top
indexOf
CacheSet::indexOf() in CacheSet.php
Returns the index of the element referenced by the specified key from the set, or -1 if the key does not exist.
isConnected
Returns true if the cache is connected, false otherwise.
isEmpty
CacheSet::isEmpty() in CacheSet.php
Returns whether or not the set is empty.
l
top
last
LinkedCacheSet::last() in LinkedCacheSet.php
Updates the internal pointer to the last element in the set and returns that element, or false if the set is empty.
LinkedCacheSet
LinkedCacheSet in LinkedCacheSet.php
Quasi-equivalent (superior in some repects) to Java's LinkedHashSet. Uses memcached as a storage mechanism for persisting set data beyond the scope of the current request.
LinkedCacheSet.php
LinkedCacheSet.php in LinkedCacheSet.php
load
CacheSet::load() in CacheSet.php
Retrieves the internal set from the cache.
m
top
move
LinkedCacheSet::move() in LinkedCacheSet.php
Moves the internal pointer by a magnitude of $delta. The default is to move the pointer in a forward direction.
n
top
$name
CacheSet::$name in CacheSet.php
next
LinkedCacheSet::next() in LinkedCacheSet.php
Updates the internal pointer to the next element in the set and returns that element, or false if there is no element at that location.
p
top
previous
LinkedCacheSet::previous() in LinkedCacheSet.php
Updates the internal pointer to the previous element in the set and returns that element, or false if there is no element at that location.
properties.php
properties.php in properties.php
purge
CacheSet::purge() in CacheSet.php
Deletes the internal set from the cache.
s
top
$set
CacheSet::$set in CacheSet.php
save
CacheSet::save() in CacheSet.php
Persists the internal set to the cache.
seek
LinkedCacheSet::seek() in LinkedCacheSet.php
Updates the internal pointer to the specified element in the set and returns that element, or returns false if key does not exist.
set
LinkedCacheSet::set() in LinkedCacheSet.php
Updates the specified element's value within the set. The internal pointer is updated to the position of the element.
set
CacheSet::set() in CacheSet.php
Updates the specified element's value within the set.
set
Cache::set() in Cache.php
Inserts/updates the specified element in the cache.
size
CacheSet::size() in CacheSet.php
Returns the number of elements in the set.
sort
CacheSet::sort() in CacheSet.php
CacheSet's internal sorting facility, which uses PHP's array value sorting functions. The default assumes a non-associative set, and sorts in ascending order of values.
sortByKey
CacheSet::sortByKey() in CacheSet.php
CacheSet's internal sorting facility, which uses PHP's array key sorting functions. The default sorts in ascending order of keys.
u
top
update
CacheSet::update() in CacheSet.php
Updates the internal set. Useful in conjunction with copy() if advanced sorting operations are required on the set - simply use copy() to create a local clone of the set, perform the necessary operations on the clone, then use update() to refresh the structure and contents of the set.
v
top
valueOf
CacheSet::valueOf() in CacheSet.php
Returns the value of the element referenced by the specified key from the set, or null if the key does not exist.
_
top
__construct
LinkedCacheSet::__construct() in LinkedCacheSet.php
Class constructor
__construct
Class constructor
__construct
CacheSet::__construct() in CacheSet.php
Class constructor
__destruct
LinkedCacheSet::__destruct() in LinkedCacheSet.php
Class destructor
__destruct
Cache::__destruct() in Cache.php
Class destructor
__destruct
CacheSet::__destruct() in CacheSet.php
Class destructor
a c d f g i l m n s u v