%3 ::xo::db::CrItem ::xo::db::CrItem changed_redirect_url current_user_id delete fix_content initialize_loaded_object is_cached_object is_package_root_folder privilege=creator rename save save_new set_live_revision update update_attribute_from_slot update_content update_item_index update_revision www-revisions ::xo::db::Object ::xo::db::Object ::xo::db::CrItem->::xo::db::Object ::xo::db::CrCache::Item ::xo::db::CrCache::Item ::xo::db::CrItem->::xo::db::CrCache::Item instmixin ::xowiki::Page ::xowiki::Page → container_already_rendered → find_slot → get_tags → import → quoted_html_content → save_tags __debug_known_field_names add_computed_instance_attributes adp_subst anchor anchor_parent_id build_instance_attribute_map build_name can_be_linked can_contain can_link can_save category_export category_import changed_redirect_url check_adp_include_path check_unresolved_references condition=is_folder_page condition=match condition=regexp content_header_append content_header_get copy_content_vars create_form_field create_form_fields create_form_fields_from_form_constraints create_form_page_instance create_link create_raw_form_field css_class_name default_instance_attributes demarshall detail_link div edit_set_default_values edit_set_file_selector_folder error_during_render error_in_includelet evaluate_form_field_condition exists_form_parameter exists_query_parameter field_names find_slot footer form_field_exists form_field_flush_cache form_field_index form_parameter get_anchor_and_query get_content get_description get_folder get_form_data get_html_from_content get_ids_for_bulk_actions get_instance_attributes get_nls_language_from_lang get_parent_object get_property_from_link_page get_query_parameter_return_url get_rich_text_spec get_target_from_link_page htmlFooter include include_content initialize_loaded_object instantiate_includelet is_folder_page is_form is_link_page is_new_entry is_unprefixed item_ref lang lookup_cached_form_field lookup_form_field map_categories map_party marshall mutual_overwrite_occurred new_link normalize_internal_link_name notification_detail_link notification_notify notification_render notification_subject physical_item_id physical_package_id physical_parent_id pretty_link pretty_name query_parameter record_last_visited references references_update regsub_eval rename render render_content render_icon render_includelet reset_resolve_context resolve_included_page_name return_redirect_without_params reverse_map_party reverse_map_party_attribute save save_data save_new search_render self_link_ids serialize_relocatable set_content set_resolve_context show_fields stats_record_count stats_record_detail substitute_markup translate unescape unset_temporary_instance_variables update update_publish_status validate=form_constraints validate=form_input_fields validate=name validate=page_order 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::Page->::xo::db::CrItem ::xowiki::PageTemplate ::xowiki::PageTemplate → count_usages count_usages update www-delete ::xowiki::PageTemplate->::xowiki::Page ::xowiki::PageInstance ::xowiki::PageInstance → get_list_from_form_constraints → get_short_spec_from_form_constraints adp_subst count_usages create_raw_form_field demarshall field_names_from_form_constraints get_field_label get_field_type get_form get_form_constraints get_from_template get_short_spec get_template_object render_content template_vars update widget_spec_from_folder_object www-use-template ::xowiki::PageInstance->::xowiki::Page ::xowiki::File ::xowiki::File build_name demarshall full_file_name html_content marshall pretty_name render_content render_icon search_render www-download ::xowiki::File->::xowiki::Page ::xowiki::PlainPage ::xowiki::PlainPage render_content set_content substitute_markup unescape ::xowiki::PlainPage->::xowiki::Page ::xowiki::Form ::xowiki::Form → add_dom_attribute_value → disable_input_fields → dom_disable_input_fields → requireFormCSS demarshall footer get_form_constraints is_form marshall render_content update ::xowiki::Form->::xowiki::PageTemplate ::xowiki::FormPage ::xowiki::FormPage → compute_filter_clauses → fetch_object → filter_expression → get_all_children → get_folder_children → get_form_entries → get_super_folders → get_table_form_fields → sql_value action_url adp_subst combine_data_and_form_field_default compute_link_properties condition=in_state condition=is_true configure_page=regression_test create_category_fields create_form_field create_form_fields create_form_fields_from_names demarshall exists_property extra_html_fields field_names field_names_from_form footer form_field_as_html form_fields_sanity_check get_anon_instances get_form_constraints get_form_value get_parameter get_property get_value group_assign group_require hstore_attributes include_header_info initialize initialize_loaded_object is_folder_page is_form is_link_page langstring lappend_property load_values_into_form_fields map_value map_values marshall new_link notification_render post_process_dom_tree post_process_form_fields pretty_name property render_content render_form_action_buttons render_icon render_thumbnails reverse_map_value reverse_map_values setCSSDefaults set_content set_form_data set_form_value set_live_revision set_property set_publish_status update update_attribute_from_slot update_item_index update_langstring_property www-edit www-file-upload www-toggle-modebutton ::xowiki::FormPage->::xowiki::PageInstance ::xowiki::PodcastItem ::xowiki::PodcastItem render_content update ::xowiki::PodcastItem->::xowiki::File ::xowiki::Object ::xowiki::Object get_payload initialize_loaded_object render_content set_payload ::xowiki::Object->::xowiki::PlainPage

Class ::xowiki::Page

::xowiki::Page[i] create ... \
           [ -absolute_links (default "0") ] \
           [ -do_substitutions (default "1") ] \
           [ -render_adp (default "1") ]

Class Relations

  • class: ::xo::db::CrClass[i]
  • superclass: ::xo::db::CrItem[i]
  • subclass: ::xowiki::PageTemplate[i], ::xowiki::PageInstance[i], ::xowiki::File[i], ::xowiki::PlainPage[i]

Methods (to be applied on the object)

  • container_already_rendered (scripted)

  • find_slot (scripted)

     xowiki::Page[i] find_slot

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_slot_interactions slot_interactions (test ) xowiki::Page proc find_slot xowiki::Page proc find_slot test_slot_interactions->xowiki::Page proc find_slot test_xowiki xowiki (test ) test_xowiki->xowiki::Page proc find_slot

    Testcases:
    slot_interactions, xowiki
  • get_tags (scripted)

  • import (scripted)

  • quoted_html_content (scripted)

  • save_tags (scripted)

Methods (to be applied on instances)

  • __debug_known_field_names (scripted)

  • absolute_links (setter)

  • add_computed_instance_attributes (scripted)

  • adp_subst (scripted)

  • anchor (scripted)

     <instance of xowiki::Page[i]> anchor

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_nested_self_references nested_self_references (test ) xowiki::Page instproc anchor xowiki::Page instproc anchor test_nested_self_references->xowiki::Page instproc anchor test_xowiki xowiki (test ) test_xowiki->xowiki::Page instproc anchor ad_try ad_try (public) xowiki::Page instproc anchor->ad_try

    Testcases:
    nested_self_references, xowiki
  • anchor_parent_id (scripted)

  • build_instance_attribute_map (scripted)

  • build_name (scripted)

  • can_be_linked (scripted)

  • can_contain (scripted)

  • can_link (scripted)

  • can_save (scripted)

  • category_export (scripted)

  • category_import (scripted)

  • changed_redirect_url (scripted)

  • check_adp_include_path (scripted)

  • check_unresolved_references (scripted)

  • condition=is_folder_page (scripted)

  • condition=match (scripted)

  • condition=regexp (scripted)

  • content_header_append (scripted)

  • content_header_get (scripted)

  • copy_content_vars (scripted)

  • create_form_field (scripted)

  • create_form_fields (scripted)

  • create_form_fields_from_form_constraints (scripted, public)

     <instance of xowiki::Page[i]> create_form_fields_from_form_constraints \
        [ -lookup ] form_constraints

    Create form-fields from form constraints. When "-lookup" is specified, the code reuses existing form-field instead of recreating it. Since create_raw_form_field uses destroy_on_cleanup, we do not have to care here about destroying the objects.

    Switches:
    -lookup
    (optional)
    Parameters:
    form_constraints
    Returns:
    potentially empty list of form-field objects

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_form_fields_from_form_constraints form_fields_from_form_constraints (test xowiki) xowiki::Page instproc create_form_fields_from_form_constraints xowiki::Page instproc create_form_fields_from_form_constraints test_form_fields_from_form_constraints->xowiki::Page instproc create_form_fields_from_form_constraints

    Testcases:
    form_fields_from_form_constraints
  • create_form_page_instance (scripted)

  • create_link (scripted)

     <instance of xowiki::Page[i]> create_link

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_nested_self_references nested_self_references (test xowiki) xowiki::Page instproc create_link xowiki::Page instproc create_link test_nested_self_references->xowiki::Page instproc create_link test_path_resolve path_resolve (test ) test_path_resolve->xowiki::Page instproc create_link test_xowiki xowiki (test ) test_xowiki->xowiki::Page instproc create_link xowiki::guesstype xowiki::guesstype xowiki::Page instproc create_link->xowiki::guesstype

    Testcases:
    path_resolve, xowiki, nested_self_references
  • create_raw_form_field (scripted)

  • creation_user (setter)

  • creator (setter)

  • css_class_name (scripted)

  • default_instance_attributes (scripted)

  • demarshall (scripted)

  • description (setter)

  • detail_link (scripted)

  • div (scripted)

  • do_substitutions (setter)

  • edit_set_default_values (scripted)

  • edit_set_file_selector_folder (scripted)

  • error_during_render (scripted)

  • error_in_includelet (scripted)

  • evaluate_form_field_condition (scripted)

  • exists_form_parameter (forward)

  • exists_query_parameter (forward)

  • field_names (scripted)

  • find_slot (scripted)

     <instance of xowiki::Page[i]> find_slot

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_slot_interactions slot_interactions (test ) xowiki::Page instproc find_slot xowiki::Page instproc find_slot test_slot_interactions->xowiki::Page instproc find_slot test_xowiki xowiki (test ) test_xowiki->xowiki::Page instproc find_slot

    Testcases:
    slot_interactions, xowiki
  • footer (scripted)

  • form_field_exists (scripted)

  • form_field_flush_cache (scripted)

  • form_field_index (scripted)

  • form_parameter (forward)

  • get_anchor_and_query (scripted)

  • get_content (scripted)

  • get_description (scripted)

  • get_folder (scripted)

  • get_form_data (scripted, public)

     <instance of xowiki::Page[i]> get_form_data \
        [ -field_names field_names ] form_fields

    Get the values from the form and store it in the form fields and finally as instance attributes. If the field names are not specified, all form parameters are used.

    Switches:
    -field_names
    (optional)
    Parameters:
    form_fields

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_create_form_with_form_instance create_form_with_form_instance (test xowiki) xowiki::Page instproc get_form_data xowiki::Page instproc get_form_data test_create_form_with_form_instance->xowiki::Page instproc get_form_data _ _ (public) xowiki::Page instproc get_form_data->_ ad_log ad_log (public) xowiki::Page instproc get_form_data->ad_log

    Testcases:
    create_form_with_form_instance
  • get_html_from_content (scripted)

  • get_ids_for_bulk_actions (forward)

  • get_instance_attributes (scripted)

  • get_nls_language_from_lang (forward)

  • get_parent_object (scripted)

  • get_property_from_link_page (scripted)

  • get_query_parameter_return_url (scripted)

  • get_rich_text_spec (scripted)

  • get_target_from_link_page (scripted)

  • htmlFooter (scripted)

  • include (scripted, public)

     <instance of xowiki::Page[i]> include [ -configure configure ] arg

    Include the html of the includelet. The method generates an includelet object (might be another xowiki page) and renders it and returns either html or an error message.

    Switches:
    -configure
    (optional)
    Parameters:
    arg

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_create_form_with_form_instance create_form_with_form_instance (test xowiki) xowiki::Page instproc include xowiki::Page instproc include test_create_form_with_form_instance->xowiki::Page instproc include test_includelet_childresources includelet_childresources (test xowiki) test_includelet_childresources->xowiki::Page instproc include test_includelet_toc includelet_toc (test xowiki) test_includelet_toc->xowiki::Page instproc include _ _ (public) xowiki::Page instproc include->_

    Testcases:
    includelet_toc, includelet_childresources, create_form_with_form_instance
  • include_content (scripted)

  • initialize_loaded_object (scripted)

  • instantiate_includelet (scripted)

  • is_folder_page (scripted, public)

     <instance of xowiki::Page[i]> is_folder_page \
        [ -include_folder_links include_folder_links ]

    Check, if page is a folder. This function is typically overlaaded by specializations. Plain xowiki::Pages are never folders.

    Switches:
    -include_folder_links
    (defaults to "true") (optional)
    return true, if the current page is a link to a folder.
    Returns:
    boolean

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_xowiki_test_cases xowiki_test_cases (test xowiki) xowiki::Page instproc is_folder_page xowiki::Page instproc is_folder_page test_xowiki_test_cases->xowiki::Page instproc is_folder_page

    Testcases:
    xowiki_test_cases
  • is_form (scripted)

  • is_link_page (scripted)

  • is_new_entry (scripted)

  • is_unprefixed (scripted)

  • item_ref (forward)

  • lang (scripted)

  • last_modified (setter)

  • lookup_cached_form_field (scripted)

  • lookup_form_field (scripted)

  • map_categories (scripted)

  • map_party (scripted)

  • marshall (scripted)

  • mime_type (setter)

  • mutual_overwrite_occurred (scripted)

  • name (setter)

  • new_link (scripted)

  • nls_language (setter)

  • normalize_internal_link_name (scripted)

  • notification_detail_link (scripted)

  • notification_notify (scripted)

  • notification_render (scripted)

  • notification_subject (scripted)

  • page_id (setter)

  • page_order (setter)

  • physical_item_id (scripted)

  • physical_package_id (scripted)

  • physical_parent_id (scripted)

  • pretty_link (scripted, public)

     <instance of xowiki::Page[i]> pretty_link [ -anchor anchor ] \
        [ -query query ] [ -absolute on|off ] [ -siteurl siteurl ] \
        [ -lang lang ] [ -download download ] [ -path_encode on|off ]

    This method is a convenience stub for Package->pretty_link and can be overloaded for different pages types. Note that it is necessary to initialize the package before this method can be used.

    Switches:
    -anchor
    (optional)
    anchor to be added to the link
    -query
    (optional)
    query parameters to be added literally to the resulting URL
    -absolute
    (boolean) (defaults to "false") (optional)
    make an absolute link (including protocol and host)
    -siteurl
    (optional)
    -lang
    (optional)
    use the specified 2 character language code (rather than computing the value)
    -download
    (defaults to "false") (optional)
    create download link (without m=download)
    -path_encode
    (boolean) (defaults to "true") (optional)
    control encoding of the url path. Returns the URL path urlencoded, unless path_encode is set to false.
    Returns:
    the pretty_link for the current page
    See Also:

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_nested_self_references nested_self_references (test xowiki) xowiki::Page instproc pretty_link xowiki::Page instproc pretty_link test_nested_self_references->xowiki::Page instproc pretty_link test_xowiki_test_cases xowiki_test_cases (test xowiki) test_xowiki_test_cases->xowiki::Page instproc pretty_link ad_log ad_log (public) xowiki::Page instproc pretty_link->ad_log

    Testcases:
    xowiki_test_cases, nested_self_references
  • pretty_name (scripted)

  • publish_date (setter)

  • query_parameter (forward)

  • record_last_visited (scripted)

  • references (scripted)

  • references_update (scripted)

  • regsub_eval (scripted)

  • rename (scripted)

  • render (scripted, public)

     <instance of xowiki::Page[i]> render \
        [ -update_references update_references ] [ -with_footer on|off ]

    Render a wiki page with some optional features, such as including a footer or updating references for this page.

    Switches:
    -update_references
    (defaults to "unresolved") (optional)
    might be "all", "unresolved" or "never"
    -with_footer
    (boolean) (defaults to "true") (optional)
    boolean value
    Returns:
    rendered HTML content.

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_link_tests link_tests (test xowiki) xowiki::Page instproc render xowiki::Page instproc render test_link_tests->xowiki::Page instproc render test_xowiki_test_cases xowiki_test_cases (test xowiki) test_xowiki_test_cases->xowiki::Page instproc render

    Testcases:
    xowiki_test_cases, link_tests
  • render_adp (setter)

  • render_content (scripted)

  • render_icon (scripted)

  • render_includelet (scripted)

  • reset_resolve_context (scripted)

  • resolve_included_page_name (scripted, public)

     <instance of xowiki::Page[i]> resolve_included_page_name page_name

    Determine the page object for the specified page name. The specified page name might have the form //some_other_instance/page_name, in which case the page is resolved from some other package instance. If the page_name does not contain a language prefix, the language prefix of the including page is used.

    Parameters:
    page_name

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
  • return_redirect_without_params (scripted)

  • reverse_map_party (scripted)

  • reverse_map_party_attribute (scripted)

  • save (scripted)

  • save_data (scripted)

  • save_new (scripted)

     <instance of xowiki::Page[i]> save_new

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_nested_self_references nested_self_references (test ) xowiki::Page instproc save_new xowiki::Page instproc save_new test_nested_self_references->xowiki::Page instproc save_new test_xowiki xowiki (test ) test_xowiki->xowiki::Page instproc save_new

    Testcases:
    nested_self_references, xowiki
  • search_render (scripted)

  • self_link_ids (scripted)

  • serialize_relocatable (scripted)

  • set_content (scripted)

  • set_resolve_context (scripted)

  • show_fields (scripted)

  • stats_record_count (scripted)

  • stats_record_detail (scripted)

  • substitute_markup (scripted)

     <instance of xowiki::Page[i]> substitute_markup

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_nested_self_references nested_self_references (test ) xowiki::Page instproc substitute_markup xowiki::Page instproc substitute_markup test_nested_self_references->xowiki::Page instproc substitute_markup test_xowiki xowiki (test ) test_xowiki->xowiki::Page instproc substitute_markup ad_enhanced_text_to_html ad_enhanced_text_to_html (public) xowiki::Page instproc substitute_markup->ad_enhanced_text_to_html ad_try ad_try (public) xowiki::Page instproc substitute_markup->ad_try

    Testcases:
    nested_self_references, xowiki
  • text (setter)

  • title (setter)

  • translate (scripted)

  • unescape (scripted)

  • unset_temporary_instance_variables (scripted)

  • update (scripted)

  • update_publish_status (scripted)

  • validate=form_constraints (scripted)

  • validate=form_input_fields (scripted)

  • validate=name (scripted)

  • validate=page_order (scripted)

  • www-autosave-attribute (scripted, public)

     <instance of xowiki::Page[i]> www-autosave-attribute

    The web-callable method which is a simplified version of save-attributes, but which does NOT perform input validation, which might be a problem in case of partial input.

    Partial Call Graph (max 5 caller/called nodes):
    %3 ad_script_abort ad_script_abort (public) xowiki::Page instproc www-autosave-attribute xowiki::Page instproc www-autosave-attribute xowiki::Page instproc www-autosave-attribute->ad_script_abort

    Testcases:
    No testcase defined.
  • www-bulk-delete (scripted, public)

     <instance of xowiki::Page[i]> www-bulk-delete

    This web-callable method performs a bulk delete based on the object names provided by the form-variable "objects" and refresh then the caller page. This method is e.g. called by the folder-procs. By passing the "instantiate_p" one can decide whether each item should be instantiated (useful when the delete logic from the whole item ancestry is required), or if we will rely on the cheaper deletion at the package level. The default is false.

    Partial Call Graph (max 5 caller/called nodes):
    %3 security::csrf::validate security::csrf::validate (public) xowiki::Page instproc www-bulk-delete xowiki::Page instproc www-bulk-delete xowiki::Page instproc www-bulk-delete->security::csrf::validate

    Testcases:
    No testcase defined.
  • www-clipboard-add (scripted, public)

     <instance of xowiki::Page[i]> www-clipboard-add

    This web-callable method adds elements to the clipboard based on the names provided by the form variable "objects". The objects are resolved below the current object, which is treated as containing folder. After adding elements to the clipboard, redirect either to the return_url of the calling page.

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
  • www-clipboard-clear (scripted, public)

     <instance of xowiki::Page[i]> www-clipboard-clear

    This web-callable method clears the clibpboard contents. Finally redirect either to the return_url of the calling page.

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
  • www-clipboard-content (scripted, public)

     <instance of xowiki::Page[i]> www-clipboard-content

    This web-callable method displays the content of the clipboard. Finally redirect either to the return_url of the calling page.

    Partial Call Graph (max 5 caller/called nodes):
    %3 util_user_message util_user_message (public) xowiki::Page instproc www-clipboard-content xowiki::Page instproc www-clipboard-content xowiki::Page instproc www-clipboard-content->util_user_message

    Testcases:
    No testcase defined.
  • www-clipboard-copy (scripted, public)

     <instance of xowiki::Page[i]> www-clipboard-copy

    This web-callable method copies the content of the clipboard to the current folder. After copying the elements from the clipboard, redirect either to the return_url of the calling page.

    Partial Call Graph (max 5 caller/called nodes):
    %3 ad_try ad_try (public) util_user_message util_user_message (public) xowiki::Page instproc www-clipboard-copy xowiki::Page instproc www-clipboard-copy xowiki::Page instproc www-clipboard-copy->ad_try xowiki::Page instproc www-clipboard-copy->util_user_message

    Testcases:
    No testcase defined.
  • www-clipboard-export (scripted, public)

     <instance of xowiki::Page[i]> www-clipboard-export

    This web-callable method exports the content of the clipboard in form of an xowiki dump. Then clear the clipboard and stop the script.

    Partial Call Graph (max 5 caller/called nodes):
    %3 ad_script_abort ad_script_abort (public) xowiki::Page instproc www-clipboard-export xowiki::Page instproc www-clipboard-export xowiki::Page instproc www-clipboard-export->ad_script_abort

    Testcases:
    No testcase defined.
  • www-create-new (scripted, public)

     <instance of xowiki::Page[i]> www-create-new \
        [ -parent_id parent_id ] [ -view_method view_method ] \
        [ -name name ] [ -nls_language nls_language ] \
        [ -publish_status publish_status ]

    This web-callable method creates a new page, typically an instance of a form page. The method accesses several form variables such as "__form_redirect", "__text_to_html", "last_page_id", "name", "nls_language", "package_id", "package_instance", "page_order", "parent_id", "publish_status", "source_item_id", "title" The call redirects either to the "__form_redirect" or to the created page.

    Switches:
    -parent_id
    (defaults to "0") (optional)
    -view_method
    (defaults to "edit") (optional)
    -name
    (optional)
    -nls_language
    (optional)
    -publish_status
    (optional)

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_create_composite_test_item create_composite_test_item (test xowf) xowiki::Page instproc www-create-new xowiki::Page instproc www-create-new test_create_composite_test_item->xowiki::Page instproc www-create-new test_create_folder_and_configure create_folder_and_configure (test xowiki) test_create_folder_and_configure->xowiki::Page instproc www-create-new test_create_form_with_form_instance create_form_with_form_instance (test xowiki) test_create_form_with_form_instance->xowiki::Page instproc www-create-new test_create_form_with_numeric create_form_with_numeric (test xowiki) test_create_form_with_numeric->xowiki::Page instproc www-create-new test_create_test_items create_test_items (test xowf) test_create_test_items->xowiki::Page instproc www-create-new _ _ (public) xowiki::Page instproc www-create-new->_ ad_return_complaint ad_return_complaint (public) xowiki::Page instproc www-create-new->ad_return_complaint ad_script_abort ad_script_abort (public) xowiki::Page instproc www-create-new->ad_script_abort ad_text_to_html ad_text_to_html (public) xowiki::Page instproc www-create-new->ad_text_to_html ad_try ad_try (public) xowiki::Page instproc www-create-new->ad_try

    Testcases:
    create_test_items, create_composite_test_item, xowiki_test_cases, create_form_with_form_instance, create_form_with_numeric, form_validate, create_folder_and_configure
  • www-create-or-use (scripted, public)

     <instance of xowiki::Page[i]> www-create-or-use \
        [ -parent_id parent_id ] [ -view_method view_method ] \
        [ -name name ] [ -nls_language nls_language ]

    This web-callable method calls www-create-new, unless overloaded from some other package, as done e.g. by xowf.

    Switches:
    -parent_id
    (defaults to "0") (optional)
    -view_method
    (defaults to "edit") (optional)
    -name
    (optional)
    -nls_language
    (optional)

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_create_test_items create_test_items (test xowf) xowiki::Page instproc www-create-or-use xowiki::Page instproc www-create-or-use test_create_test_items->xowiki::Page instproc www-create-or-use

    Testcases:
    create_test_items
  • www-csv-dump (scripted, public)

     <instance of xowiki::Page[i]> www-csv-dump

    This web-callable method produces a CSV dump based on the includelet "form-usages".

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
  • www-delete (scripted, public)

     <instance of xowiki::Page[i]> www-delete [ -return_url return_url ]

    This web-callable method deletes a page via the delete method of the package.

    Switches:
    -return_url
    (optional)

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_xowiki_test_cases xowiki_test_cases (test xowiki) xowiki::Page instproc www-delete xowiki::Page instproc www-delete test_xowiki_test_cases->xowiki::Page instproc www-delete

    Testcases:
    xowiki_test_cases
  • www-delete-revision (scripted, public)

     <instance of xowiki::Page[i]> www-delete-revision

    This web-callable method deletes a single revision of a Page, which is actually performed by the "delete_revision" method of the package, which is responsible for caching. Since we instantiate the Page based on the "revision_id" query parameter, it is sufficient to delete here just based on the current instance variable of the revision_id.

    Partial Call Graph (max 5 caller/called nodes):
    %3 export_vars export_vars (public) xowiki::url xowiki::url (private) xowiki::Page instproc www-delete-revision xowiki::Page instproc www-delete-revision xowiki::Page instproc www-delete-revision->export_vars xowiki::Page instproc www-delete-revision->xowiki::url

    Testcases:
    No testcase defined.
  • www-diff (scripted, public)

     <instance of xowiki::Page[i]> www-diff

    This web-callable method produces a "diff" of two pages based on the current page and the revision_id provided as query parameter by "compare_revision_id". We can choose here between the more fancy "::util::html_diff" and a plain text diff. The latter is used, when the query variable "plain_text_diff" is provided, or when the fancy diff raises an exception.

    Partial Call Graph (max 5 caller/called nodes):
    %3 ad_html_text_convert ad_html_text_convert (public) ad_try ad_try (public) util::html_diff util::html_diff (public) xo::get_user_name xo::get_user_name xowiki::text_diff_in_html xowiki::text_diff_in_html (private) xowiki::Page instproc www-diff xowiki::Page instproc www-diff xowiki::Page instproc www-diff->ad_html_text_convert xowiki::Page instproc www-diff->ad_try xowiki::Page instproc www-diff->util::html_diff xowiki::Page instproc www-diff->xo::get_user_name xowiki::Page instproc www-diff->xowiki::text_diff_in_html

    Testcases:
    No testcase defined.
  • www-duplicate (scripted, public)

     <instance of xowiki::Page[i]> www-duplicate

    This web-callable method duplicated the current object. It uses the same mechanisms as the clipboard-copy operation. After adding elements to the clipboard, redirect either to the return_url of the calling page (as handled by www-clipboard-copy)

    Partial Call Graph (max 5 caller/called nodes):
    %3 ad_try ad_try (public) xowiki::Page instproc www-duplicate xowiki::Page instproc www-duplicate xowiki::Page instproc www-duplicate->ad_try

    Testcases:
    No testcase defined.
  • www-edit (scripted, public)

     <instance of xowiki::Page[i]> www-edit [ -new on|off ] \
        [ -autoname on|off ] [ -validation_errors validation_errors ]

    This web-callable method renders a page in "edit" mode (i.e. provide input fields). This is the old-style edit based on the old-style xowiki-form-procs. FormPages should be used when possible for better user experience.

    Switches:
    -new
    (boolean) (defaults to "false") (optional)
    is this an edit-new operation?
    -autoname
    (boolean) (defaults to "false") (optional)
    value to be passed to getFormClass
    -validation_errors
    (optional)
    ignored in this class, but used for compatibility with FormPage.www-edit

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_create_form_with_form_instance create_form_with_form_instance (test xowiki) xowiki::Page instproc www-edit xowiki::Page instproc www-edit test_create_form_with_form_instance->xowiki::Page instproc www-edit test_create_form_with_numeric create_form_with_numeric (test xowiki) test_create_form_with_numeric->xowiki::Page instproc www-edit test_form_validate form_validate (test xowiki) test_form_validate->xowiki::Page instproc www-edit test_xowiki_test_cases xowiki_test_cases (test xowiki) test_xowiki_test_cases->xowiki::Page instproc www-edit export_vars export_vars (public) xowiki::Page instproc www-edit->export_vars template::util::lpop template::util::lpop (public) xowiki::Page instproc www-edit->template::util::lpop

    Testcases:
    xowiki_test_cases, create_form_with_form_instance, create_form_with_numeric, form_validate
  • www-list (scripted, public)

     <instance of xowiki::Page[i]> www-list

    This web-callable method provides a listing of pages. When the query parameter "children" is used, it returns the children of this item via the "child-resources" includelet. Otherwise, when this method is called on any kind of Form, it returns the form instances via the "form-usages" includelet. Otherwise, when this method is called on any kind of folder pages, it returns the elements of this folder via the "child-resources" includelet. If the above fails, it redirects to the starting page.

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

    Testcases:
    No testcase defined.
  • www-make-live-revision (scripted, public)

     <instance of xowiki::Page[i]> www-make-live-revision

    This web-callable method makes the revision specified by parameter "revision_id" the live revision, or when this is not available, the parameter "local_return_url".

    Partial Call Graph (max 5 caller/called nodes):
    %3 export_vars export_vars (public) xowiki::Page instproc www-make-live-revision xowiki::Page instproc www-make-live-revision xowiki::Page instproc www-make-live-revision->export_vars

    Testcases:
    No testcase defined.
  • www-popular-tags (scripted, public)

     <instance of xowiki::Page[i]> www-popular-tags

    AJAX called function, returns an HTML snippet with the popular tags.

    Partial Call Graph (max 5 caller/called nodes):
    %3 _ _ (public) ad_script_abort ad_script_abort (public) ad_urlencode ad_urlencode (public) xowiki::Page instproc www-popular-tags xowiki::Page instproc www-popular-tags xowiki::Page instproc www-popular-tags->_ xowiki::Page instproc www-popular-tags->ad_script_abort xowiki::Page instproc www-popular-tags->ad_urlencode

    Testcases:
    No testcase defined.
  • www-revisions (scripted, public)

     <instance of xowiki::Page[i]> www-revisions

    This web-callable method lists the revisions based. The rendering is actually performed in the cr-procs, but can overloaded per package.

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_xowiki_test_cases xowiki_test_cases (test xowiki) xowiki::Page instproc www-revisions xowiki::Page instproc www-revisions test_xowiki_test_cases->xowiki::Page instproc www-revisions

    Testcases:
    xowiki_test_cases
  • www-save-attributes (scripted, public)

     <instance of xowiki::Page[i]> www-save-attributes

    The web-callable method save-attributes is typically callable over the REST interface. It allows one to save attributes of a page without adding a new revision.

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
  • www-save-tags (scripted, public)

     <instance of xowiki::Page[i]> www-save-tags

    This web-callable method saves tags (provided via form parameter "new_tags").

    Partial Call Graph (max 5 caller/called nodes):
    %3 ad_return_url ad_return_url (public) xowiki::Page instproc www-save-tags xowiki::Page instproc www-save-tags xowiki::Page instproc www-save-tags->ad_return_url

    Testcases:
    No testcase defined.
  • www-toggle-publish-status (scripted, public)

     <instance of xowiki::Page[i]> www-toggle-publish-status \
        [ -return_url return_url ]

    This web-callable method toggles from "production" to "ready", and from "ready" or "archived" to "production". The return_url can be passed in for cases, where some proc calls internally this function, since update_publish_status might have to initialize some related objects, which might modify the return_url as well (e.g., workflows with specialized return_url handling).

    Switches:
    -return_url
    (optional)

    Partial Call Graph (max 5 caller/called nodes):
    %3 ad_return_url ad_return_url (public) xowiki::Page instproc www-toggle-publish-status xowiki::Page instproc www-toggle-publish-status xowiki::Page instproc www-toggle-publish-status->ad_return_url

    Testcases:
    No testcase defined.
  • www-validate-attribute (scripted, public)

     <instance of xowiki::Page[i]> www-validate-attribute

    This web-callable method can be used to validate form attributes, typically called via AJAX.

    Partial Call Graph (max 5 caller/called nodes):
    %3 xo::localize xo::localize xowiki::Page instproc www-validate-attribute xowiki::Page instproc www-validate-attribute xowiki::Page instproc www-validate-attribute->xo::localize

    Testcases:
    No testcase defined.
  • www-view (scripted, public)

     <instance of xowiki::Page[i]> www-view [ content ]

    This web-callable method is called when viewing wiki content. The method "view" is used primarily as web API call, when the xowiki page is viewed. It is not intended for e.g. embedded wiki pages (use includes), since it contains full framing, etc. In most cases, the argument "content" is not provided, and it is computed via the "render" method of the current object. It is as well possible to reuse the rendering logic of the method for other pages, where some HTML content is already computed, but it should be viewed exactly as in the page viewing cases.

    Parameters:
    content (optional)

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_xowiki_test_cases xowiki_test_cases (test xowiki) xowiki::Page instproc www-view xowiki::Page instproc www-view test_xowiki_test_cases->xowiki::Page instproc www-view ad_return_complaint ad_return_complaint (public) xowiki::Page instproc www-view->ad_return_complaint ad_return_url ad_return_url (public) xowiki::Page instproc www-view->ad_return_url ad_script_abort ad_script_abort (public) xowiki::Page instproc www-view->ad_script_abort ad_try ad_try (public) xowiki::Page instproc www-view->ad_try export_vars export_vars (public) xowiki::Page instproc www-view->export_vars

    Testcases:
    xowiki_test_cases