[ Index ] |
|
Code source de Joomla 1.0.13 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Author: | John Heinstein <johnkarl@nbnet.nb.ca> |
Copyright: | (C) 2004 John Heinstein. All rights reserved |
License: | http://www.gnu.org/copyleft/lesser.html LGPL License |
Poids: | 74 lignes (3 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 2 fichiers includes/domit/php_file_utilities.php includes/domit/xml_domit_utilities.php |
DOMIT_cache:: (4 méthodes):
toCache()
fromCache()
cacheExists()
removeFromCache()
Classe: DOMIT_cache - X-Ref
A simple caching mechanism for a DOMIT_DocumenttoCache($xmlFileName, &$doc, $writeAttributes = 'w') X-Ref |
Serializes and caches the specified DOMIT! document param: string The name of the xml file to be saved param: Object A reference to the document to be saved param: string The write attributes for the saved document ('w' or 'wb') |
fromCache($xmlFileName) X-Ref |
Unserializes a cached DOMIT! document param: string The name of the xml file to be retrieved return: Object The retrieved document |
cacheExists($xmlFileName) X-Ref |
Determines whether a cached version of the specified document exists param: string The name of the xml file to be retrieved return: boolean True if a cache of the specified document exists |
removeFromCache($xmlFileName) X-Ref |
Removes a cache of the specified document param: string The name of the xml file to be retrieved return: boolean True if a cache has been removed |
Généré le : Wed Nov 21 14:43:32 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |