Back to index

plone3  3.1.7
Public Member Functions
CMFPlone.browser.sitemap.SitemapView Class Reference
Inheritance diagram for CMFPlone.browser.sitemap.SitemapView:
Inheritance graph
Collaboration diagram for CMFPlone.browser.sitemap.SitemapView:
Collaboration graph

List of all members.

Public Member Functions

def createSiteMap

Detailed Description

Definition at line 11 of file

Member Function Documentation

Definition at line 14 of file

00015     def createSiteMap(self):
00016         context = aq_inner(self.context)
00017         view = getMultiAdapter((context, self.request),
00018                                name='sitemap_builder_view')
00019         data = view.siteMap()
00020         properties = getToolByName(context, 'portal_properties')
00021         navtree_properties = getattr(properties, 'navtree_properties')
00022         bottomLevel = navtree_properties.getProperty('bottomLevel', 0)
00023         # XXX: The recursion should probably be done in python code
00024         return context.portlet_navtree_macro(children=data.get('children',[]),
00025                                              level=1, bottomLevel=bottomLevel)

Here is the call graph for this function:

The documentation for this class was generated from the following file: