API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
A simple caching mechanism for a DOMIT_Document
DOMIT_cache::cacheExists | ( | $ | xmlFileName | ) |
Determines whether a cached version of the specified document exists
string | The name of the xml file to be retrieved |
Références $name, et DOMIT_Utilities::removeExtension().
& DOMIT_cache::fromCache | ( | $ | xmlFileName | ) |
Unserializes a cached DOMIT! document
string | The name of the xml file to be retrieved |
Références $name, php_file_utilities::getDataFromFile(), et DOMIT_Utilities::removeExtension().
DOMIT_cache::removeFromCache | ( | $ | xmlFileName | ) |
Removes a cache of the specified document
string | The name of the xml file to be retrieved |
Références $name, et DOMIT_Utilities::removeExtension().
DOMIT_cache::toCache | ( | $ | xmlFileName, |
&$ | doc, | ||
$ | writeAttributes = 'w' |
||
) |
Serializes and caches the specified DOMIT! document
string | The name of the xml file to be saved |
Object | A reference to the document to be saved |
string | The write attributes for the saved document ('w' or 'wb') |
Références $doc, $name, php_file_utilities::putDataToFile(), et DOMIT_Utilities::removeExtension().