Commit 9dd485c6 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added isExternalDocument method

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29824 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1d4b4e1d
...@@ -111,4 +111,10 @@ class IUploadable(Interface): ...@@ -111,4 +111,10 @@ class IUploadable(Interface):
NOTE: implementation is normally delegated to ContributionTool. NOTE: implementation is normally delegated to ContributionTool.
XXX - it is unclear whether MAX_REPEAT should be part of signature XXX - it is unclear whether MAX_REPEAT should be part of signature
"""
def isExternalDocument():
"""
Returns True if content was downloaded from a URL. Returns False
if content was uploaded from a file.
""" """
\ No newline at end of file
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