Caches data to memcache
Registered for URLs with the "memcache" protocol
For example, memcache://localhost:11211/?timeout=3600&prefix=sp_
will
connect to memcache on localhost
on port 11211. All tables will be
prefixed with sp_
and data will expire after 3600 seconds
package | SimplePie |
---|---|
subpackage | Caching |
uses |
__construct(string $location, string $name, string $type)
inherited_from | \SimplePie_Cache_Base::__construct() |
---|
string
Location string (from SimplePie::$cache_location)
string
Unique ID for the cache
string
Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data
load() : array
inherited_from | \SimplePie_Cache_Base::load() |
---|
array
Data for SimplePie::$datamtime() : integer
inherited_from | \SimplePie_Cache_Base::mtime() |
---|
integer
Timestampsave(array|\SimplePie $data) : boolean
inherited_from | \SimplePie_Cache_Base::save() |
---|
array
\SimplePie
Data to store in the cache. If passed a SimplePie object, only cache the $data property
boolean
Successfulnesstouch() : boolean
inherited_from | \SimplePie_Cache_Base::touch() |
---|
boolean
Success statusunlink() : boolean
inherited_from | \SimplePie_Cache_Base::unlink() |
---|
boolean
Success status$cache : \Memcache
$name : string