Package TWiki::UI::Upload

UI delegate for attachment management functions

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:

filename Name of attachment
skin Skin(s) to use in presenting pages

StaticMethod upload ($session)

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  


This topic: TWiki > TWikiUIUploadDotPm
Topic revision: r1 - 2006-02-01 - TWikiContributor
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiUIUploadDotPm.