[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/ZopePublication/TraversalViews - AbsoluteURL.py:1.6
Steve Alexander
steve@cat-box.net
Mon, 28 Oct 2002 02:37:59 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/ZopePublication/TraversalViews
In directory cvs.zope.org:/tmp/cvs-serv31387/lib/python/Zope/App/ZopePublication/TraversalViews
Modified Files:
AbsoluteURL.py
Log Message:
Added breadcrumbs method to IAbsoluteURL interface.
This will be needed for security assertions when I hook security
up to named views with pages.
=== Zope3/lib/python/Zope/App/ZopePublication/TraversalViews/AbsoluteURL.py 1.5 => 1.6 ===
--- Zope3/lib/python/Zope/App/ZopePublication/TraversalViews/AbsoluteURL.py:1.5 Sat Jul 13 10:18:37 2002
+++ Zope3/lib/python/Zope/App/ZopePublication/TraversalViews/AbsoluteURL.py Mon Oct 28 02:37:58 2002
@@ -36,6 +36,12 @@
"""Get a string representation
"""
+ def breadcrumbs():
+ """Return a tuple like ({'name':name, 'url':url}, ...)
+
+ Name is the name to display for that segment of the breadcrumbs.
+ URL is the link for that segment of the breadcrumbs.
+ """
class AbsoluteURL(BrowserView):