| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Source view] [Print] [Project Stats]
(no 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 |
| File Size: | 74 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 2 files libraries/domit/php_file_utilities.php libraries/domit/xml_domit_utilities.php |
DOMIT_cache:: (4 methods):
toCache()
fromCache()
cacheExists()
removeFromCache()
Class: DOMIT_cache - X-Ref
A simple caching mechanism for a DOMIT_Document| toCache($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 |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |