Show
Ignore:
Timestamp:
03/25/08 09:57:21 (8 months ago)
Author:
mikey
Message:

preparation of enhancement #133: refactored caching processor out of memphis processor, new caching processor still needs a test. website cache does not require session any more

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/websites/cache/stubCachableProcessor.php

    r1231 r1459  
    1919{ 
    2020    /** 
    21      * sets the website cache to be used by the processor 
     21     * adds the cache variables for the current request and returns whether 
     22     * response is cachable or not 
    2223     * 
    23      * @param  stubWebsiteCache  $websiteCache 
     24     * @param   stubWebsiteCache  $websiteCache 
     25     * @return  bool 
    2426     */ 
    25     public function setWebsiteCache(stubWebsiteCache $websiteCache); 
     27    public function addCacheVars(stubWebsiteCache $cache); 
     28 
     29    /** 
     30     * returns the name of the current page 
     31     * 
     32     * Non-page-based processors should return another unique identifier for 
     33     * the current request if they want to implement this interface. 
     34     * 
     35     * @return  string 
     36     */ 
     37    public function getPageName(); 
    2638} 
    2739?>