Commit 75bc9858 authored by Nicolas Delaby's avatar Nicolas Delaby

getDocumentValue returns all matched documents in Notification Message Module

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21688 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6d8701f5
...@@ -409,3 +409,13 @@ class NotificationTool(BaseTool): ...@@ -409,3 +409,13 @@ class NotificationTool(BaseTool):
This could change though. This could change though.
""" """
return self.getPortalEventTypeList() return self.getPortalEventTypeList()
def getDocumentValue(self, **kw):
"""
Returns the last version of a Notification Document in selected Language.
"""
method = self._getTypeBasedMethod('getDocumentValue')
return method(**kw)
def __call__(self, *args, **kw):
return self.sendMessage(*args, **kw)
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