spunQ_IPageCache Interface Reference

A cache for page content. More...

Inherited by spunQ_DefaultTemplateCache.

List of all members.

Public Member Functions

 storePageContent (spunQ_HttpEntryPoint $entryPoint, array $variables, array $cacheOptions, $content)
 Stores the page's contents.
 loadPageFromCache (spunQ_HttpEntryPoint $entryPoint, array $variables, array $cacheOptions)
 Tries to load the page contents from cache.


Detailed Description

A cache for page content.

Definition at line 6 of file IPageCache.interface.php.


Member Function Documentation

spunQ_IPageCache::loadPageFromCache ( spunQ_HttpEntryPoint entryPoint,
array $  variables,
array $  cacheOptions 
)

Tries to load the page contents from cache.

Parameters:
$entryPoint The entry point to process.
$variables Parameters to the entry point.
$cacheOptions The entry point's cache options.
Returns:
boolean Whether the content was loaded. The content is echo()ed if it was loaded. This has the same effect of processing the page file directly.

spunQ_IPageCache::storePageContent ( spunQ_HttpEntryPoint entryPoint,
array $  variables,
array $  cacheOptions,
content 
)

Stores the page's contents.

Parameters:
$entryPoint The entry point to process.
$variables Parameters to the entry point.
$cacheOptions The entry point's cache options.
$content Content generated by the entry point.
Returns:
void


The documentation for this interface was generated from the following file:

Generated on Fri Jul 1 11:12:42 2011 for spunQ3 by  doxygen 1.5.9