Öffentliche Methoden | |
__construct ($location, $name, $type) | |
save ($data) | |
load () | |
mtime () | |
touch () | |
unlink () | |
Geschützte Attribute | |
$mysql | |
$options | |
$id | |
Weitere Geerbte Elemente | |
Datenfelder geerbt von SimplePie_Cache_Base | |
const | TYPE_FEED = 'spc' |
const | TYPE_IMAGE = 'spi' |
Geschützte, statische Methoden geerbt von SimplePie_Cache_DB | |
static | prepare_simplepie_object_for_cache ($data) |
__construct | ( | $location, | |
$name, | |||
$type | |||
) |
Create a new cache object
string | $location | Location string (from SimplePie::$cache_location) |
string | $name | Unique ID for the cache |
string | $type | Either TYPE_FEED for SimplePie data, or TYPE_IMAGE for image data |
Implementiert SimplePie_Cache_Base.
Definiert in Zeile 87 der Datei MySQL.php.
Benutzt SimplePie_Cache\parse_URL().
load | ( | ) |
Retrieve the data saved to the cache
Implementiert SimplePie_Cache_Base.
Definiert in Zeile 291 der Datei MySQL.php.
Benutzt SIMPLEPIE_NAMESPACE_ATOM_03, SIMPLEPIE_NAMESPACE_ATOM_10, SIMPLEPIE_NAMESPACE_RDF und SIMPLEPIE_NAMESPACE_RSS_20.
mtime | ( | ) |
Retrieve the last modified time for the cache
Implementiert SimplePie_Cache_Base.
save | ( | $data) |
touch | ( | ) |
Set the last modified time to the current time
Implementiert SimplePie_Cache_Base.
unlink | ( | ) |