Class SiteAwareTemplateLookupStrategy
java.lang.Object
freemarker.cache.TemplateLookupStrategy
org.craftercms.engine.view.freemarker.SiteAwareTemplateLookupStrategy
public class SiteAwareTemplateLookupStrategy
extends freemarker.cache.TemplateLookupStrategy
Extension of
TemplateLookupStrategy
that looks for locale specific templates- Since:
- 4.0.0
- Author:
- joseross
-
Field Summary
Fields inherited from class freemarker.cache.TemplateLookupStrategy
DEFAULT_2_3_0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfreemarker.cache.TemplateLookupResult
lookup
(freemarker.cache.TemplateLookupContext ctx)
-
Constructor Details
-
SiteAwareTemplateLookupStrategy
public SiteAwareTemplateLookupStrategy()
-
-
Method Details
-
lookup
public freemarker.cache.TemplateLookupResult lookup(freemarker.cache.TemplateLookupContext ctx) throws IOException - Specified by:
lookup
in classfreemarker.cache.TemplateLookupStrategy
- Throws:
IOException
-