public interface SpincastPebbleTemplatingEngineConfig
| Modifier and Type | Method and Description |
|---|---|
com.mitchellbosecke.pebble.extension.Extension |
getExtension()
Pebble extension to register: allows you to add custom
filters, functions, etc.
|
int |
getTagCacheTypeItemNbr()
The number of "cache" tag item to keep in cache.
|
int |
getTemplateCacheItemNbr()
The number of template item to keep in cache.
|
String |
getValidationGroupMessagesTemplatePath()
The path to the template to use to display
the validation messages of a Form's field group.
|
String |
getValidationMessagesTemplatePath()
The path to the template to use to display
the validation messages of a Form' field.
|
boolean |
isStrictVariablesEnabled()
Is the strict variable policy on?
|
com.mitchellbosecke.pebble.extension.Extension getExtension()
int getTemplateCacheItemNbr()
<= 0,
thi cache will be disabled.int getTagCacheTypeItemNbr()
<= 0,
thi cache will be disabled.boolean isStrictVariablesEnabled()
From the doc : "If set to true, Pebble will throw an exception if you try to access a variable or attribute that does not exist (or an attribute of a null variable). If set to false, your template will treat non-existing variables/attributes as null without ever skipping a beat."
String getValidationMessagesTemplatePath()
String getValidationGroupMessagesTemplatePath()
Copyright © 2016. All rights reserved.