[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
Implements Surrogate rendering strategy.
Author: | Fabien Potencier <fabien@symfony.com> |
File Size: | 110 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
__construct(SurrogateInterface $surrogate = null, FragmentRendererInterface $inlineStrategy, UriSigner $signer = null) X-Ref |
The "fallback" strategy when surrogate is not available should always be an instance of InlineFragmentRenderer. param: SurrogateInterface $surrogate An Surrogate instance param: FragmentRendererInterface $inlineStrategy The inline strategy to use when the surrogate is not supported param: UriSigner $signer |
render($uri, Request $request, array $options = []) X-Ref |
{@inheritdoc} Note that if the current Request has no surrogate capability, this method falls back to use the inline rendering strategy. Additional available options: * alt: an alternative URI to render in case of an error * comment: a comment to add when returning the surrogate tag Note, that not all surrogate strategies support all options. For now 'alt' and 'comment' are only supported by ESI. |
generateSignedFragmentUri($uri, Request $request) X-Ref |
No description |
containsNonScalars(array $values) X-Ref |
No description |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |