Class ListHelper
java.lang.Object
org.craftercms.deployer.utils.handlebars.ListHelper
- All Implemented Interfaces:
com.github.jknack.handlebars.Helper<Object>
Handlebars helper class that provides conditional list iteration, which means that it will only iterate if it's an
Iterable
or an array, and will do normal Handlebars processing otherwise.- Author:
- avasquez
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NAME
- See Also:
-
INSTANCE
-
-
Constructor Details
-
ListHelper
public ListHelper()
-
-
Method Details
-
apply
public Object apply(Object context, com.github.jknack.handlebars.Options options) throws IOException - Specified by:
apply
in interfacecom.github.jknack.handlebars.Helper<Object>
- Throws:
IOException
-