Constructor for APCCache
APCCache
__construct
()
Expires the named value from the cache.
void
_expire
(string $name, $group)
-
string
$name: The name of the cached item
-
$group
Redefinition of:
- Cache::_expire()
- A cache instance implements this to expire the named value from the cache.
Extend the expiration of the named cached value.
void
_extend
(string $name, integer $expiry, $group)
-
string
$name: The name of the cached item
-
integer
$expiry: The duration in seconds to extend the cache expiration by
-
$group
Redefinition of:
- Cache::_extend()
- A cache instance implements this to extend the expiration of the named cached value.
Returns the named value from the cache.
mixed
_get
(string $name, $group)
-
string
$name: The name of the cached item
-
$group
Redefinition of:
- Cache::_get()
- A cache instance implements this to return the named value from the cache.
Returns the named values from a group of cache.
array
_get_group
( $group, string $name)
-
string
$name: The name of the cached item
-
$group
Redefinition of:
- Cache::_get_group()
- A cache instance implements this to return the group from the cache.
Is record with $name in the cache?
boolean
_has
(string $name, $group)
-
string
$name: name of the cached item
-
$group
Redefinition of:
- Cache::_has()
- A cache instance implements this function to return whether a named cache exists.
Is group named $group in the cache?
boolean
_has_group
( $group, string $name)
-
string
$name: name of the cached item
-
$group
Redefinition of:
- Cache::_has_group()
- A cache instance implements this function to return whether a group exists.
void
_set
( $name, $value, $expiry, $group)
-
$name
-
$value
-
$expiry
-
$group
Redefinition of:
- Cache::_set()
- A cache instance implements this to set the named value in the cache with an expiration.
Inherited Methods
Inherited From Cache
Cache::expire()
Cache::extend()
Cache::get()
Cache::get_group()
Cache::has()
Cache::has_group()
Cache::set()
Cache::_expire()
Cache::_extend()
Cache::_get()
Cache::_get_group()
Cache::_has()
Cache::_has_group()
Cache::_set()
Cache::__static()