- 7.21. Opt_Caching_Interface
7.21.1. templateCacheStart() - 7.21. Opt_Caching_Interface
« Previous - 7.21.2. templateCacheStop()
Next »
7.21.1. templateCacheStart()
| Construct | Abstract method |
|---|---|
| Visibility | public |
| Reference | boolean templateCacheStart(Opt_View $view) |
| Argument list |
|
| Returned value | The information whether to execute the view or not. |
Checks if the template requested by the view is already cached and optionally prints the cached content to the output. The method must return true, if it read the content from the cache and false if the original template should be executed to rebuild the cache. To capture the template output, you may use the output buffering functions available in PHP.
- 7.21.1. templateCacheStart()
7.21. Opt_Caching_Interface - « Previous
7.21. Opt_Caching_Interface - Next »
7.21.2. templateCacheStop()