%3 ::xowiki::File ::xowiki::File www-download ::xowiki::Page ::xowiki::Page → find_slot anchor create_form_fields_from_form_constraints create_link find_slot get_form_data include is_folder_page pretty_link render resolve_included_page_name save_new substitute_markup www-autosave-attribute www-bulk-delete www-clipboard-add www-clipboard-clear www-clipboard-content www-clipboard-copy www-clipboard-export www-create-new www-create-or-use www-csv-dump www-delete www-delete-revision www-diff www-duplicate www-edit www-list www-make-live-revision www-popular-tags www-revisions www-save-attributes www-save-tags www-toggle-publish-status www-validate-attribute www-view ::xowiki::File->::xowiki::Page ::xowiki::PageTemplate ::xowiki::PageTemplate www-delete ::xowiki::PageTemplate->::xowiki::Page ::xowiki::PageInstance ::xowiki::PageInstance get_from_template www-use-template ::xowiki::PageInstance->::xowiki::Page ::xowiki::PlainPage ::xowiki::PlainPage ::xowiki::PlainPage->::xowiki::Page ::xo::db::CrItem ::xo::db::CrItem ::xowiki::Page->::xo::db::CrItem ::xowiki::FormPage ::xowiki::FormPage → compute_filter_clauses → fetch_object → filter_expression → get_all_children combine_data_and_form_field_default extra_html_fields get_property is_folder_page load_values_into_form_fields property render_thumbnails set_form_data set_live_revision set_property update_attribute_from_slot update_item_index www-edit www-file-upload www-toggle-modebutton ::xowiki::FormPage->::xowiki::PageInstance

Class ::xowiki::PageInstance

::xowiki::PageInstance[i] create ...

Class Relations

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

Methods (to be applied on instances)

  • get_from_template (scripted, public)

     <instance of xowiki::PageInstance[i]> get_from_template var \
        [ default ]

    Get a property from the parent object (template). The parent object might by either an ::xowiki::Form or an ::xowiki::FormPage

    Parameters:
    var
    default (optional)
    Returns:
    either the property value or a default value

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_create_form_with_form_instance create_form_with_form_instance (test xowiki) xowiki::PageInstance instproc get_from_template xowiki::PageInstance instproc get_from_template test_create_form_with_form_instance->xowiki::PageInstance instproc get_from_template

    Testcases:
    create_form_with_form_instance
  • www-use-template (scripted, public)

     <instance of xowiki::PageInstance[i]> www-use-template

    This web-callable method can be used to change the "template" of a PageInstance. The caller provides the "form" as query parameter which should be used in future for handling the instance parameters of the PageInstance. This method can be as well be used for changing the associated workflow of a workflow instance.

    Partial Call Graph (max 5 caller/called nodes):
    %3 ad_return_url ad_return_url (public) xowiki::PageInstance instproc www-use-template xowiki::PageInstance instproc www-use-template xowiki::PageInstance instproc www-use-template->ad_return_url

    Testcases:
    No testcase defined.

Variables

::xowiki::PageInstance set __default_metaclass ::xotcl::Class
::xowiki::PageInstance set __default_superclass ::xotcl::Object
::xowiki::PageInstance set abstract_p f
::xowiki::PageInstance set auto_save false
::xowiki::PageInstance array set db_constraints {page_template {{references \
       {cr_items(item_id) DEFERRABLE INITIALLY DEFERRED}} {references \
       {cr_items(item_id) DEFERRABLE INITIALLY DEFERRED}}} instance_attributes {{default {}} \
       {default {}}}}
::xowiki::PageInstance array set db_slot \
       {page_template ::xowiki::PageInstance::slot::page_template 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 \
       instance_attributes ::xowiki::PageInstance::slot::instance_attributes creation_user \
       ::xo::db::Object::slot::creation_user object_id ::xo::db::Object::slot::object_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 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 page_instance_id \
       ::xowiki::PageInstance::slot::page_instance_id modifying_ip \
       ::xo::db::Object::slot::modifying_ip}
::xowiki::PageInstance set edit_form ::xowiki::PageInstanceEditForm
::xowiki::PageInstance set folder_id -100
::xowiki::PageInstance set form ::xowiki::PageInstanceForm
::xowiki::PageInstance set id_column page_instance_id
::xowiki::PageInstance array set long_text_slots \
       {instance_attributes ::xowiki::PageInstance::slot::instance_attributes}
::xowiki::PageInstance set mime_type text/plain
::xowiki::PageInstance set name_method {}
::xowiki::PageInstance set non_cached_instance_var_patterns __*
::xowiki::PageInstance set object_type ::xowiki::PageInstance
::xowiki::PageInstance set object_type_key 00000000000011110001100100000010
::xowiki::PageInstance set pretty_name {#xowiki.PageInstance_pretty_name#}
::xowiki::PageInstance set pretty_plural {#xowiki.PageInstance_pretty_plural#}
::xowiki::PageInstance set security_inherit_p t
::xowiki::PageInstance set sql_package_name ::xowiki::PageInstance
::xowiki::PageInstance set storage_type text
::xowiki::PageInstance set supertype content_revision
::xowiki::PageInstance set table_name xowiki_page_instance
::xowiki::PageInstance set with_table true