...discover TWiki details, and how to start your own site.

View | r1.1

Navigation

TWikiUIUploadDotPm 1 - 01 Feb 2006 - Main.TWikiContributor
Line: 1 to 1
Added:
>
>

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  

Revision 1 r1 - 01 Feb 2006 - 12:01 - TWikiContributor
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Atmel®, AVR® and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries.
All other trademarks are the property of their respective owners.
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiUIUploadDotPm
Powered by Wed, 08 Feb 2006 build 8740
Syndicate this site