Class SectionsForLocationFunction

  • All Implemented Interfaces:,<Iterable<WebSectionView>>

    public class SectionsForLocationFunction
    extends Object
    A soy server function that retrieves web-sections for a given location.

    Usage: {let $sections: sectionsForLocation(contentId, 'system.main.nav') /}

    where contentId is used to provide additional information to the WebInterfaceContext. Pass null if the sections are not associated with a specific CEO.

    • Constructor Detail

      • SectionsForLocationFunction

        public SectionsForLocationFunction​(WebViewService webViewService)
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface
      • validArgSizes

        public Set<Integer> validArgSizes()
        Specified by:
        validArgSizes in interface