Class SectionNameHandlebarsHelper
- java.lang.Object
 - 
- com.terminalfour.publish.handlebars.helper.BaseHelper
 - 
- com.terminalfour.publish.handlebars.helper.section.SectionNameHandlebarsHelper
 
 
 
- 
- All Implemented Interfaces:
 com.github.jknack.handlebars.Helper<Object>
@Component public class SectionNameHandlebarsHelper extends BaseHelper
The {{sectionName}} handlebars helper is a simply utility helper that outputs the Section name.Usage
The {{sectionName}} handlebars helper is a simply utility helper that outputs the Section name.
Example
{{sectionName}} 
- 
- 
Constructor Summary
Constructors Constructor Description SectionNameHandlebarsHelper(ISectionAPI sectionApi) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapply(Object context, com.github.jknack.handlebars.Options options)Theapplymethod is the main entry point for handlebars.java helpers. 
 - 
 
- 
- 
Constructor Detail
- 
SectionNameHandlebarsHelper
@Autowired public SectionNameHandlebarsHelper(ISectionAPI sectionApi)
 
 - 
 
- 
Method Detail
- 
apply
public String apply(Object context, com.github.jknack.handlebars.Options options)
Description copied from class:BaseHelperTheapplymethod is the main entry point for handlebars.java helpers.It is called internally by the handlebars.java engine when a matching handlebars.java expression is encountered.
- Specified by:
 applyin interfacecom.github.jknack.handlebars.Helper<Object>- Specified by:
 applyin classBaseHelper- Parameters:
 context- The currently executing context.options- The options.- Returns:
 - The generated output.
 
 
 - 
 
 -