Commit e90f2dd5 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Added getStandardFileName method

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29818 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7ad6ada4
...@@ -33,7 +33,7 @@ class IDownloadable(Interface): ...@@ -33,7 +33,7 @@ class IDownloadable(Interface):
""" """
Downloadable interface specification Downloadable interface specification
Documents which implement the IDownloadable can be downloaded Documents which implement IDownloadable can be downloaded
directly from their URL using any format specified as a parameter. directly from their URL using any format specified as a parameter.
""" """
...@@ -51,4 +51,10 @@ class IDownloadable(Interface): ...@@ -51,4 +51,10 @@ class IDownloadable(Interface):
kw -- optional conversion parameters kw -- optional conversion parameters
""" """
\ No newline at end of file def getStandardFileName():
"""
Returns a standard file name for the document to download.
This method is the reverse of
IMetadataDiscoverable.getPropertyDictFromFileName.
"""
\ 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