Package
UI delegate for attachment management functions
| |||||||||||||
Changed: | |||||||||||||
< < | Attach a file to a topic. CGI parameters are: | ||||||||||||
> > | Adds the meta-data for an attachment to a toic. Does not upload | ||||||||||||
Added: | |||||||||||||
> > | the attachment itself, just modifies the meta-data. | ||||||||||||
Deleted: | |||||||||||||
< < |
| ||||||||||||
Deleted: | |||||||||||||
< < | |||||||||||||
StaticMethod upload ($session)upload command handler.
This method is designed to be
invoked via the TWiki::UI::run method.
CGI parameters, passed in $query:
| |||||||||||||
Added: | |||||||||||||
> > | Does the work of uploading a file to a topic. Designed to be useable as a REST method (it will redirect to the 'view' script unless the 'noredirect' parameter is specified, in which case it will print a message to STDOUT, starting with 'OK' on success and 'ERROR' on failure. | ||||||||||||
Package
UI delegate for attachment management functions
|
filename |
Name of attachment |
skin |
Skin(s) to use in presenting pages |
upload
command handler.
This method is designed to be
invoked via the TWiki::UI::run
method.
CGI parameters, passed in $query:
hidefile |
if defined, will not show file in attachment table |
filepath |
|
filename |
|
filecomment |
Comment to associate with file in attachment table |
createlink |
if defined, will create a link to file at end of topic |
changeproperties |