Heyday\CacheInclude\SilverStripe\TemplateParserBlockProvider
Synopsis
class TemplateParserBlockProvider
{
- // methods
- public static string cacheTemplate()
- public static string cacheIncludeTemplate()
Methods
public
- cacheIncludeTemplate() — Allows the use of a <% cache_include 'IncludeName' %> syntax in templates. Defaults to looking up a config that matches the include name, but can be specified separately as config names must not contain special characters whereras includes may (e.g. namespaces)
- cacheTemplate() — Allows the use of a <% cache 'ConfigName' %><% end_cache %> syntax in templates