WPDev.one
Core Class

Memcache

class Memcache // Constructor: function Object() { [native code] }

Caches data to memcache

Methods 6 methods

Method / Return Description
__construct()
void

Create a new cache object

Parameters: $location: mixed, $name: mixed, $type: mixed
save()
bool

Save data to the cache

Parameters: $data: mixed
load()
array

Retrieve the data saved to the cache

mtime()
int

Retrieve the last modified time for the cache

touch()
bool

Set the last modified time to the current time

unlink()
bool

Remove the cache

Properties

Property / Type Description
$cache
mixed
public
No description available.
$options
mixed
public
No description available.
$name
mixed
public
No description available.

Class Information

Source File
wp-includes/SimplePie/src/Cache/Memcache.php
Advertisement