public class SectionsForLocationFunction extends Object implements com.atlassian.soy.renderer.SoyServerFunction<Iterable<WebSectionView>>
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 and Description |
|---|
SectionsForLocationFunction(WebViewService webViewService) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<WebSectionView> |
apply(Object... args) |
String |
getName() |
Set<Integer> |
validArgSizes() |
public SectionsForLocationFunction(WebViewService webViewService)
public String getName()
getName in interface com.atlassian.soy.renderer.SoyFunctionpublic Iterable<WebSectionView> apply(Object... args)
apply in interface com.atlassian.soy.renderer.SoyServerFunction<Iterable<WebSectionView>>Copyright © 2003–2016 Atlassian. All rights reserved.