- Publicity: Public Only All
xowiki-uploader-procs.tcl
XoWiki - Uploader procs
This file defines the following Objects and Classes: ::xowiki::UploadFile, ::xowiki::UploadFileIconified, ::xowiki::UploadPhotoForm, ::xowiki::Upload
- Location:
- packages/xowiki/tcl/xowiki-uploader-procs.tcl
- Created:
- 2016-03-21
- Author:
- Gustaf Neumann
- CVS Identification:
$Id: xowiki-uploader-procs.tcl,v 1.6 2024/09/11 06:15:56 gustafn Exp $
Procedures in this file
- Class ::xowiki::Upload (public)
- Class ::xowiki::UploadFile (public)
- Class ::xowiki::UploadFileIconified (public)
- Class ::xowiki::UploadPhotoForm (public)
- xowiki::Upload instproc store_file (public)
- xowiki::UploadFile instproc store_file (public)
- xowiki::UploadFileIconified instproc store_file (public)
- xowiki::UploadPhotoForm instproc store_file (public)
Detailed information
Class ::xowiki::Upload (public)
::nx::Class ::xowiki::Upload
Abstract class for upload handlers. Subclasses define concreate behavior. The method "store_file" should either return 201 for successful uploads or 200 for ignored cases.
- Testcases:
- No testcase defined.
Class ::xowiki::UploadFile (public)
::nx::Class ::xowiki::UploadFile
Class for storing files as xowiki::File instances.
- Testcases:
- No testcase defined.
Class ::xowiki::UploadFileIconified (public)
::nx::Class ::xowiki::UploadFileIconified
Refinement of ::xowiki::UploadFile but returning content rended by a special renderer. There is e.g. such a renderer defined in xowf for the online exam.
- Testcases:
- No testcase defined.
Class ::xowiki::UploadPhotoForm (public)
::nx::Class ::xowiki::UploadPhotoForm
Class for storing files as instances of photo.form.
- Testcases:
- No testcase defined.
xowiki::Upload method store_file (public)
<instance of xowiki::Upload> store_file
Abstract method.
- Testcases:
- No testcase defined.
xowiki::UploadFile method store_file (public)
<instance of xowiki::UploadFile> store_file
Store the file provided via instance variables by using the formfield::file implementation (uses xowiki::File).
- Testcases:
- No testcase defined.
xowiki::UploadFileIconified method store_file (public)
<instance of xowiki::UploadFileIconified> store_file
Store files and return a thumbnail rendering when successful.
- Testcases:
- No testcase defined.
xowiki::UploadPhotoForm method store_file (public)
<instance of xowiki::UploadPhotoForm> store_file
Ignore everything, which does not have an image/* mime type.
- Testcases:
- No testcase defined.