Back to index

plone3  3.1.7
Public Member Functions
five.localsitemanager.browser.ObjectManagerSiteView Class Reference

List of all members.

Public Member Functions

def makeSite
def sitemanagerTrail

Detailed Description

Configure the site setup for an ObjectManager.

Definition at line 7 of file browser.py.


Member Function Documentation

Definition at line 11 of file browser.py.

00011 
00012     def makeSite(self):
00013         make_objectmanager_site(self.context)

Here is the call graph for this function:

Definition at line 14 of file browser.py.

00014 
00015     def sitemanagerTrail(self):
00016         if not self.isSite():
00017             return None
00018 
00019         sm = self.context.getSiteManager()
00020         trail = []
00021         while sm is not None and sm != base:
00022             trail.append(repr(sm))
00023             sm = sm.__bases__[0]
00024 
00025         if sm == base:
00026             trail.append('Global Registry')
00027 
00028         trail.reverse()
00029 
00030         return ' => '.join(trail)

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