Class ::xowiki::UploadFile

::xowiki::UploadFile[i] create ... \
           [ -content_type content_type ] \
           [ -file_name file_name ] \
           [ -parent_object parent_object ] \
           [ -tmpfile tmpfile ]

Class for storing files as xowiki::File instances.
Defined in packages/xowiki/tcl/xowiki-uploader-procs.tcl

Class Relations

  • class: ::nx::Class[i]
  • superclass: ::xowiki::Upload[i]
  • subclass: ::xowiki::UploadFileIconified[i]

Methods (to be applied on instances)

  • store_file (scripted, public)

     <instance of xowiki::UploadFile[i]> store_file

    Store the file provided via instance variables by using the formfield::file implementation (uses xowiki::File).

    Testcases:
    No testcase defined.