Commit 54f374d1 authored by Rafael Monnerat's avatar Rafael Monnerat

Added new Portal Method getPortalDivergenceTesterTypeList



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10369 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1fb1b5ea
...@@ -800,6 +800,14 @@ class ERP5Site(FolderMixIn, CMFSite): ...@@ -800,6 +800,14 @@ class ERP5Site(FolderMixIn, CMFSite):
""" """
return self._getPortalGroupedTypeList('event') return self._getPortalGroupedTypeList('event')
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalDivergenceTesterTypeList')
def getPortalDivergenceTesterTypeList(self):
"""
Return divergence tester types.
"""
return self._getPortalGroupedTypeList('divergence_tester')
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getDefaultModuleId') 'getDefaultModuleId')
def getDefaultModuleId(self, portal_type, default=MARKER): def getDefaultModuleId(self, portal_type, default=MARKER):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment