Class ::xowiki::File

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

Defined in

Class Relations

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

Methods (to be applied on instances)

  • build_name (scripted)

  • demarshall (scripted)

  • file_id (setter)

  • full_file_name (scripted)

  • html_content (scripted)

  • marshall (scripted)

  • mime_type (setter)

  • pretty_name (scripted)

  • render_adp (setter)

  • render_content (scripted)

  • render_icon (scripted)

  • search_render (scripted)

  • storage_type (setter)

  • 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

    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 object_title ::xo::db::Object::slot::object_title \
       nls_language ::xo::db::CrItem::slot::nls_language package_id \
       ::xo::db::Object::slot::package_id name ::xo::db::CrItem::slot::name mime_type \
       ::xo::db::CrItem::slot::mime_type context_id ::xo::db::Object::slot::context_id \
       security_inherit_p ::xo::db::Object::slot::security_inherit_p title \
       ::xowiki::Page::slot::title revision_id ::xo::db::CrItem::slot::revision_id item_id \
       ::xo::db::CrItem::slot::item_id last_modified ::xo::db::Object::slot::last_modified \
       modifying_user ::xo::db::Object::slot::modifying_user publish_date \
       ::xowiki::Page::slot::publish_date 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