l.s.w.b.Breadcrumb : class documentation

Part of lp.services.webapp.breadcrumb View In Hierarchy

Known subclasses: lp.answers.browser.faq.FAQBreadcrumb, lp.answers.browser.question.QuestionBreadcrumb, lp.blueprints.browser.sprint.SprintSetBreadcrumb, lp.bugs.browser.bugcomment.BugCommentBreadcrumb, lp.bugs.browser.bugtask.BugTaskBreadcrumb, lp.bugs.browser.bugtracker.BugTrackerSetBreadcrumb, lp.buildmaster.browser.builder.BuilderSetBreadcrumb, lp.code.browser.branchmergeproposal.BranchMergeProposalBreadcrumb, lp.code.browser.codeimport.CodeImportSetBreadcrumb, lp.code.browser.codeimportmachine.CodeImportMachineBreadcrumb, lp.code.browser.codeimportmachine.CodeImportMachineSetBreadcrumb, lp.code.browser.gitrepository.GitRepositoriesBreadcrumb, lp.code.browser.gitrepository.GitRepositoryBreadcrumb, lp.registry.browser.distribution.DistributionSetBreadcrumb, lp.registry.browser.distributionsourcepackage.DistributionSourcePackageBreadcrumb, lp.registry.browser.distroseries.DistroSeriesBreadcrumb, lp.registry.browser.milestone.MilestoneBreadcrumb, lp.registry.browser.nameblacklist.NameBlacklistSetBreadcrumb, lp.registry.browser.persondistributionsourcepackage.PersonDistributionSourcePackageBreadcrumb, lp.registry.browser.personproduct.PersonProductBreadcrumb, lp.registry.browser.pillar.PillarPersonBreadcrumb, lp.registry.browser.product.ProductSetBreadcrumb, lp.registry.browser.productseries.ProductSeriesBreadcrumb, lp.registry.browser.project.ProjectSetBreadcrumb, lp.registry.browser.sourcepackage.SourcePackageBreadcrumb, lp.registry.browser.team.TeamBreadcrumb, lp.registry.browser.teammembership.TeamMembershipBreadcrumb, lp.services.webapp.breadcrumb.DisplaynameBreadcrumb, lp.services.webapp.breadcrumb.NameBreadcrumb, lp.services.webapp.breadcrumb.TitleBreadcrumb, lp.services.webhooks.browser.WebhookBreadcrumb, lp.services.webhooks.browser.WebhooksBreadcrumb, lp.soyuz.browser.build.BuildBreadcrumb, lp.soyuz.browser.distributionsourcepackagerelease.DistributionSourcePackageReleaseBreadcrumb, lp.soyuz.browser.distroarchseries.DistroArchSeriesBreadcrumb, lp.soyuz.browser.distroarchseriesbinarypackagerelease.DistroArchSeriesBinaryPackageReleaseBreadcrumb, lp.soyuz.browser.distroseriesbinarypackage.DistroSeriesBinaryPackageBreadcrumb, lp.translations.browser.customlanguagecode.CustomLanguageCodeBreadcrumb, lp.translations.browser.language.LanguageBreadcrumb, lp.translations.browser.language.LanguageSetBreadcrumb, lp.translations.browser.potemplate.POTemplateBreadcrumb, lp.translations.browser.translationgroup.TranslationGroupSetBreadcrumb, lp.translations.browser.translations.TranslationsLanguageBreadcrumb

See IBreadcrumb.

This class is intended for use as an adapter.

Method __init__ Undocumented
Method rootsite The rootsite of this breadcrumb's URL.
Method url Undocumented
Method detail See IBreadcrumb.
Method __repr__ Undocumented
def __init__(self, context, url=None, text=None, inside=None, rootsite=None):
Undocumented
@property
def rootsite(self):
The rootsite of this breadcrumb's URL.

If the ICanonicalUrlData for our context defines a rootsite, we return that, otherwise we return 'mainsite'.

@property
def url(self):
Undocumented
@property
def detail(self):
See IBreadcrumb.

Subclasses may choose to provide detail text that will be used to make the page title for the last item traversed.

def __repr__(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-08-18 00:00:05.