c.l.w.m.MenuBase(UserAttributeCache) : class documentation

Part of canonical.launchpad.webapp.menu View In Hierarchy

Known subclasses: canonical.launchpad.webapp.__init__.ApplicationMenu, canonical.launchpad.webapp.__init__.ContextMenu, canonical.launchpad.webapp.__init__.FacetMenu, canonical.launchpad.webapp.__init__.NavigationMenu, canonical.launchpad.webapp.tests.test_menu.TestMenu

Implements interfaces: canonical.launchpad.webapp.interfaces.IMenuBase

Base class for facets and menus.
Method __init__ Undocumented
Method initialize Override this in subclasses to do initialization.
Method iterlinks See IMenu.
Method _buildLink Undocumented
Method _get_link Undocumented
Method _rootUrlForSite Return the root URL for the given site.

Inherited from UserAttributeCache:

Method account Undocumented
Method user The logged-in Person, or None if there is no one logged in.
Method isBetaUser Return True if the user is in the beta testers team.
def __init__(self, context):
Undocumented
def initialize(self):
Override this in subclasses to do initialization.
def _buildLink(self, name):
Undocumented
def _get_link(self, name):
Undocumented
def _rootUrlForSite(self, site):
Return the root URL for the given site.
def iterlinks(self, request_url=None):
See IMenu.
API Documentation for Launchpad, generated by pydoctor at 2010-09-27 00:00:11.