File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 22Customising Roundup
33===================
44
5- :Version: $Revision: 1.189 $
5+ :Version: $Revision: 1.190 $
66
77.. This document borrows from the ZopeBook section on ZPT. The original is at:
88 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -1919,8 +1919,16 @@ hasPermission specific to the "user" class - determine whether the
19191919is_edit_ok is the user allowed to Edit the current item?
19201920is_view_ok is the user allowed to View the current item?
19211921is_retired is the item retired?
1922- download_url generates a url-quoted link for download of FileClass
1922+ download_url generate a url-quoted link for download of FileClass
19231923 item contents (ie. file<id>/<name>)
1924+ copy_url generate a url-quoted link for creating a copy
1925+ of this item. By default, the copy will acquire
1926+ all properties of the current item except for
1927+ ``messages`` and ``files``. This can be overridden
1928+ by passing ``exclude`` argument which contains a list
1929+ (or any iterable) of property names that shall not be
1930+ copied. Database-driven properties like ``id`` or
1931+ ``activity`` cannot be copied.
19241932=============== ========================================================
19251933
19261934Note that if you have a property of the same name as one of the above
You can’t perform that action at this time.
0 commit comments