Commit bd24c8ed authored by Romain Courteaud's avatar Romain Courteaud

Add portal method getPortalTransformationTypeList.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3410 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4ca5f694
...@@ -312,6 +312,14 @@ class ERP5Site ( CMFSite, FolderMixIn ): ...@@ -312,6 +312,14 @@ class ERP5Site ( CMFSite, FolderMixIn ):
""" """
return self._getPortalConfiguration('portal_delivery_type_list') return self._getPortalConfiguration('portal_delivery_type_list')
security.declareProtected(Permissions.AccessContentsInformation,
'getPortalTransformationTypeList')
def getPortalTransformationTypeList(self):
"""
Return transformation types.
"""
return self._getPortalConfiguration('portal_transformation_type_list')
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalVariationBaseCategoryList') security.declareProtected(Permissions.AccessContentsInformation, 'getPortalVariationBaseCategoryList')
def getPortalVariationBaseCategoryList(self): def getPortalVariationBaseCategoryList(self):
""" """
......
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