Class ::xowiki::File

::xowiki::File[i] create ... \
           [ -render_adp (default "0") ]

Class Relations

  • class: ::xo::db::CrClass[i]
  • superclass: ::xowiki::Page[i]
  • subclass: ::xowiki::PodcastItem[i]

Methods (to be applied on instances)

  • www-download (scripted, public)

     <instance of xowiki::File[i]> www-download

    This web-callable method downloads the file content of the current File object. The following query parameter can be used to influence the behavior

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_xowiki_test_cases xowiki_test_cases (test xowiki) xowiki::File instproc www-download xowiki::File instproc www-download test_xowiki_test_cases->xowiki::File instproc www-download ad_file ad_file (public) xowiki::File instproc www-download->ad_file ad_log ad_log (public) xowiki::File instproc www-download->ad_log ad_tmpdir ad_tmpdir (public) xowiki::File instproc www-download->ad_tmpdir util::which util::which (public) xowiki::File instproc www-download->util::which xo::backslash_escape xo::backslash_escape xowiki::File instproc www-download->xo::backslash_escape

    Testcases:
    xowiki_test_cases

Variables

::xowiki::File set __default_metaclass ::xotcl::Class
::xowiki::File set __default_superclass ::xotcl::Object
::xowiki::File set abstract_p f
::xowiki::File set auto_save false
::xowiki::File array set db_constraints {}
::xowiki::File array set db_slot \
       {page_order ::xowiki::Page::slot::page_order creator ::xowiki::Page::slot::creator page_id \
       ::xowiki::Page::slot::page_id creation_date ::xo::db::Object::slot::creation_date \
       creation_user ::xo::db::Object::slot::creation_user object_id \
       ::xo::db::Object::slot::object_id file_id ::xowiki::File::slot::file_id description \
       ::xowiki::Page::slot::description text ::xowiki::Page::slot::text creation_ip \
       ::xo::db::Object::slot::creation_ip package_id ::xo::db::Object::slot::package_id \
       object_title ::xo::db::Object::slot::object_title nls_language \
       ::xo::db::CrItem::slot::nls_language security_inherit_p \
       ::xo::db::Object::slot::security_inherit_p context_id ::xo::db::Object::slot::context_id \
       mime_type ::xo::db::CrItem::slot::mime_type name ::xo::db::CrItem::slot::name title \
       ::xowiki::Page::slot::title item_id ::xo::db::CrItem::slot::item_id revision_id \
       ::xo::db::CrItem::slot::revision_id publish_date ::xowiki::Page::slot::publish_date \
       modifying_user ::xo::db::Object::slot::modifying_user last_modified \
       ::xo::db::Object::slot::last_modified modifying_ip ::xo::db::Object::slot::modifying_ip}
::xowiki::File set folder_id -100
::xowiki::File set form ::xowiki::FileForm
::xowiki::File set id_column file_id
::xowiki::File set mime_type text/plain
::xowiki::File set name_method {}
::xowiki::File set non_cached_instance_var_patterns {import_file do_substitutions}
::xowiki::File set object_type ::xowiki::File
::xowiki::File set object_type_key 00000000000011110001100100000011
::xowiki::File set pretty_name {#xowiki.File_pretty_name#}
::xowiki::File set pretty_plural {#xowiki.File_pretty_plural#}
::xowiki::File set security_inherit_p t
::xowiki::File set sql_package_name ::xowiki::File
::xowiki::File set storage_type file
::xowiki::File set supertype content_revision
::xowiki::File set table_name xowiki_file
::xowiki::File set with_table true