Line: 10 to 10 | ||||||||
---|---|---|---|---|---|---|---|---|
This method is designed to be
invoked via the TWiki::UI::run method. | ||||||||
Changed: | ||||||||
< < | Attach a file to a topic. CGI parameters are: | |||||||
> > | Adds the meta-data for an attachment to a toic. Does not upload the attachment itself, just modifies the meta-data. | |||||||
Deleted: | ||||||||
< < |
| |||||||
StaticMethod upload ($session) | ||||||||
Line: 30 to 28 | ||||||||
| ||||||||
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. | |||||||
Line: 1 to 1 | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Added: | |||||||||||||||||
> > | Package =TWiki::UI::UploadUI delegate for attachment management functionsOn this page:
StaticMethod attach ($session)upload command handler.
This method is designed to be
invoked via the TWiki::UI::run method.
Attach a file to a topic. CGI parameters are:
StaticMethod upload ($session)upload command handler.
This method is designed to be
invoked via the TWiki::UI::run method.
CGI parameters, passed in $query:
|