%3 ::xo::db::CrItem ::xo::db::CrItem delete is_package_root_folder privilege=creator rename save save_new set_live_revision update_attribute_from_slot update_item_index ::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 → 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::Page->::xo::db::CrItem ::xowiki::File ::xowiki::File www-download ::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 ::xowiki::PodcastItem ::xowiki::PodcastItem ::xowiki::PodcastItem->::xowiki::File ::xowiki::Form ::xowiki::Form ::xowiki::Form->::xowiki::PageTemplate ::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 ::xowiki::Object ::xowiki::Object ::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::File[i], ::xowiki::PageTemplate[i], ::xowiki::PageInstance[i], ::xowiki::PlainPage[i]

Methods (to be applied on the object)

  • 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

Methods (to be applied on instances)

  • 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
  • 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_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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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.
  • 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
  • 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
  • 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