Interface TemplateBoolean


  • public interface TemplateBoolean
    Any object in the context which implements TemplateBoolean will use the getAsBoolean() method for #if( $ref ) calls.
    Since:
    2.0
    Author:
    Nathan Bubna
    • Method Detail

      • getAsBoolean

        boolean getAsBoolean()
        Returns a boolean that can be used in a template.
        Returns:
        A boolean that can be used in a template.