provide utility method 'getUidForObject()' in base view

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3571 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2009-10-06 15:17:56 +00:00
parent 9661f62155
commit 333a2d02e2

View file

@ -142,6 +142,9 @@ class BaseView(object):
def nl2br(self, text):
return format.nl2br(text)
def getUidForObject(self, obj):
return util.getUidForObject(obj)
pattern = re.compile(r'[ /\?\+%]')