l.a.b.t.PageMacroDispatcher : class documentation

Part of lp.app.browser.tales View In Hierarchy

Selects a macro, while storing information about page layout.

view/macro:page view/macro:page/main_side view/macro:page/main_only view/macro:page/searchless

view/macro:pagehas/applicationtabs view/macro:pagehas/globalsearch view/macro:pagehas/portlets view/macro:pagehas/main

view/macro:pagetype

view/macro:is-page-contentless view/macro:has-watermark

Method __init__ Undocumented
Method base Undocumented
Method traverse Undocumented
Method page Undocumented
Method haspage Undocumented
Method hasWatermark Does the page havethe watermark block.
Method isPageContentless Should the template avoid rendering detailed information.
Method pagetype Undocumented
Class LayoutElements Undocumented
def __init__(self, context):
Undocumented
@property
def base(self):
Undocumented
def traverse(self, name, furtherPath):
Undocumented
def page(self, pagetype):
Undocumented
def haspage(self, layoutelement):
Undocumented
def hasWatermark(self):
Does the page havethe watermark block.

The default value is True, but the view can provide has_watermark to force the page not render the standard location information.

def isPageContentless(self):
Should the template avoid rendering detailed information.

Circumstances such as not possessing launchpad.View on a private context require the template to not render detailed information. The user may only know identifying information about the context.

def pagetype(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.