Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
CMFPlone.browser.navtree.SitemapQueryBuilder Class Reference
Inheritance diagram for CMFPlone.browser.navtree.SitemapQueryBuilder:
Inheritance graph
Collaboration diagram for CMFPlone.browser.navtree.SitemapQueryBuilder:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __call__

Public Attributes


Detailed Description

Build a folder tree query suitable for a sitemap

Definition at line 93 of file

Constructor & Destructor Documentation

Reimplemented from CMFPlone.browser.navtree.NavtreeQueryBuilder.

Definition at line 97 of file

00098     def __init__(self, context):
00099         NavtreeQueryBuilder.__init__(self, context)
00100         portal_url = getToolByName(context, 'portal_url')
00101         portal_properties = getToolByName(context, 'portal_properties')
00102         navtree_properties = getattr(portal_properties, 'navtree_properties')
00103         sitemapDepth = navtree_properties.getProperty('sitemapDepth', 2)
00104         self.query['path'] = {'query' : portal_url.getPortalPath(),
00105                               'depth' : sitemapDepth}

Here is the call graph for this function:

Member Function Documentation

Definition at line 90 of file

00091     def __call__(self):
00092         return self.query

Here is the caller graph for this function:

Member Data Documentation

Definition at line 88 of file

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