[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 92 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
SurrogateInterface:: (9 methods):
getName()
createCacheStrategy()
hasSurrogateCapability()
addSurrogateCapability()
addSurrogateControl()
needsParsing()
renderIncludeTag()
process()
handle()
Interface: SurrogateInterface - X-Ref
getName() X-Ref |
Returns surrogate name. return: string |
createCacheStrategy() X-Ref |
Returns a new cache strategy instance. return: ResponseCacheStrategyInterface A ResponseCacheStrategyInterface instance |
hasSurrogateCapability(Request $request) X-Ref |
Checks that at least one surrogate has Surrogate capability. return: bool true if one surrogate has Surrogate capability, false otherwise |
addSurrogateCapability(Request $request) X-Ref |
Adds Surrogate-capability to the given Request. |
addSurrogateControl(Response $response) X-Ref |
Adds HTTP headers to specify that the Response needs to be parsed for Surrogate. This method only adds an Surrogate HTTP header if the Response has some Surrogate tags. |
needsParsing(Response $response) X-Ref |
Checks that the Response needs to be parsed for Surrogate tags. return: bool true if the Response needs to be parsed, false otherwise |
renderIncludeTag($uri, $alt = null, $ignoreErrors = true, $comment = '') X-Ref |
Renders a Surrogate tag. param: string $uri A URI param: string $alt An alternate URI param: bool $ignoreErrors Whether to ignore errors or not param: string $comment A comment to add as an esi:include tag return: string |
process(Request $request, Response $response) X-Ref |
Replaces a Response Surrogate tags with the included resource content. return: Response |
handle(HttpCache $cache, $uri, $alt, $ignoreErrors) X-Ref |
Handles a Surrogate from the cache. param: HttpCache $cache An HttpCache instance param: string $uri The main URI param: string $alt An alternative URI param: bool $ignoreErrors Whether to ignore errors or not return: string |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |