root/trunk/src/main/php/net/stubbles/websites/cache/stubCachableProcessor.php

Revision 1513, 1.0 kB (checked in by mikey, 1 month ago)

fix several coding style issues

Line 
1 <?php
2 /**
3  * Interface for processors with cachable contents.
4  *
5  * @author      Frank Kleine <mikey@stubbles.net>
6  * @package     stubbles
7  * @subpackage  websites_cache
8  */
9 stubClassLoader::load('net::stubbles::websites::cache::stubWebsiteCache',
10                       'net::stubbles::websites::processors::stubProcessor'
11 );
12 /**
13  * Interface for processors with cachable contents.
14  *
15  * @package     stubbles
16  * @subpackage  websites_cache
17  */
18 interface stubCachableProcessor extends stubProcessor
19 {
20     /**
21      * adds the cache variables for the current request and returns whether
22      * response is cachable or not
23      *
24      * @param   stubWebsiteCache  $cache
25      * @return  bool
26      */
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();
38 }
39 ?>
Note: See TracBrowser for help on using the browser.