[Zope3-checkins] CVS: Zope3/src/zope/app/traversing/browser -
interfaces.py:1.3
Jim Fulton
jim at zope.com
Tue Apr 27 06:53:55 EDT 2004
Update of /cvs-repository/Zope3/src/zope/app/traversing/browser
In directory cvs.zope.org:/tmp/cvs-serv1814/src/zope/app/traversing/browser
Modified Files:
interfaces.py
Log Message:
Created a separate absoluteURL function and included it in zapi/
Aded an API interface to facilitate adding the absoluteURL function to zapi.
=== Zope3/src/zope/app/traversing/browser/interfaces.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/traversing/browser/interfaces.py:1.2 Wed Mar 17 13:24:59 2004
+++ Zope3/src/zope/app/traversing/browser/interfaces.py Tue Apr 27 06:53:50 2004
@@ -37,3 +37,9 @@
Name is the name to display for that segment of the breadcrumbs.
URL is the link for that segment of the breadcrumbs.
"""
+
+class IAbsoluteURLAPI(Interface):
+
+ def absoluteURL(ob, request):
+ """Compute the absolute URL of an object
+ """
More information about the Zope3-Checkins
mailing list