|
Revision 1513, 1.0 kB
(checked in by mikey, 1 month ago)
|
fix several coding style issues
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
stubClassLoader::load('net::stubbles::websites::cache::stubWebsiteCache', |
|---|
| 10 |
'net::stubbles::websites::processors::stubProcessor' |
|---|
| 11 |
); |
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 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 |
?> |
|---|