Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r3  >  r2  >  r1
TWikiUIUploadDotPm 3 - 16 Jan 2007 - Main.TWikiContributor

TWikiUIUploadDotPm 2 - 25 Oct 2006 - Main.TWikiContributor
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:

filename Name of attachment
skin Skin(s) to use in presenting pages
>
>
Adds the meta-data for an attachment to a toic. Does not upload the attachment itself, just modifies the meta-data.
 
Line: 31 to 29
 
createlink if defined, will create a link to file at end of topic
changeproperties  
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.
 

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 3r3 - 16 Jan 2007 - 04:11:59 - TWikiContributor
Revision 2r2 - 25 Oct 2006 - 00:21:57 - TWikiContributor
Revision 1r1 - 01 Feb 2006 - 12:01:26 - TWikiContributor
This site is powered by the TWiki collaboration platform.
All material on this collaboration platform is the property of the contributing authors.
All material marked as authored by Eben Moglen is available under the license terms CC-BY-SA version 4.
Syndicate this site RSSATOM