- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::Page
::xo::Pagecreate ...
Defined in
Class Relations
Methods (to be applied on the object)
get_property (scripted, public)
xo::Pageget_property name
Return the element and value pairs for a named page property, or an empty list.
- Parameters:
- name (required)
- Property name.
- Testcases:
- xowiki_test_cases, create_form_with_form_instance
header_stuff (scripted, public)
xo::Pageheader_stuff
Add the registered styles, stylesheets, and scripts to the template head.
- Returns:
- The empty string.
- Testcases:
- xowiki_test_cases
requireCSS (scripted, public)
xo::PagerequireCSS [ -order order ] name
Register a stylesheet for the page head.
- Switches:
- -order (optional, defaults to
"1")- Relative order group for stylesheets.
- Parameters:
- name (required)
- Stylesheet URL.
- Testcases:
- create_workflow_with_instance, xowiki_test_cases, path_resolve
requireJS (scripted, public)
xo::PagerequireJS name
Register a JavaScript URL or inline statements for the page head. Repeated registrations retain their first position.
- Parameters:
- name (required)
- Script URL, or inline JavaScript containing a semicolon.
- Testcases:
- path_resolve
requireLink (scripted)
requireStyle (scripted)
set_property (scripted, public)
xo::Pageset_property name element value
Store a value under an element of a named page property.
- Parameters:
- name (required)
- Property name.
- element (required)
- Element key.
- value (required)
- Value to store.
- Testcases:
- xowiki_test_cases, create_form_with_form_instance
sort_keys_by_value (scripted)
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
![[i]](/resources/acs-subsite/ZoomIn16.gif)