%3 ::nx::Object ::nx::Object ::xowiki::Upload ::xowiki::Upload store_file ::xowiki::Upload->::nx::Object ::xowiki::UploadPhotoForm ::xowiki::UploadPhotoForm store_file ::xowiki::UploadPhotoForm->::xowiki::Upload ::xowiki::UploadFile ::xowiki::UploadFile store_file ::xowiki::UploadFile->::xowiki::Upload ::xowiki::UploadFileIconified ::xowiki::UploadFileIconified store_file ::xowiki::UploadFileIconified->::xowiki::UploadFile

Class ::xowiki::Upload

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

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.
Defined in packages/xowiki/tcl/xowiki-uploader-procs.tcl

Class Relations

  • class: ::nx::Class[i]
  • superclass: ::nx::Object[i]
  • subclass: ::xowiki::UploadPhotoForm[i], ::xowiki::UploadFile[i]

Methods (to be applied on instances)

  • store_file (scripted, public)

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

    Abstract method.

    Testcases:
    No testcase defined.