- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class Relations
Methods (to be applied on the object)
change_page_order (scripted, public)
xowiki::utility change_page_order -from from -to to [ -clean clean ] \ -folder_id folder_id -package_id package_id \ [ -publish_status publish_status ]
Update page_order attributes for pages by renumbering and filling gaps.
- Switches:
- -from (required)
- list of page_orders before a move/insert operation
- -to (required)
- list of page_orders after a move/insert operation
- -clean (optional)
- list of page_orders for insert operations, to update the hierarchy from where items were moved to the new hierarchy.
- -folder_id (required)
- -package_id (required)
- -publish_status (optional, defaults to
"ready|live|expired"
)
- Testcases:
- No testcase defined.
formCSSclass (scripted, public)
xowiki::utility formCSSclass form_name
Obtain CSS class name for a form from its name
- Parameters:
- form_name (required)
- Testcases:
- link_tests, create_form_with_form_instance
publish_status_next_state (scripted, private)
xowiki::utility publish_status_next_state publish_status
Determine next publish status and return dict containing CSSclass and next state.
- Parameters:
- publish_status (required)
- Testcases:
- No testcase defined.
user_is_active (scripted, public)
xowiki::utility user_is_active [ -asHTML on|off ] uid
Tell whether a user is active according to the Request Monitor.
- Switches:
- -asHTML (optional, boolean, defaults to
"false"
) - when true, the proc will return an HTML rendering of the user information.
- -asHTML (optional, boolean, defaults to
- Parameters:
- uid (required)
- the user id
- Returns:
- boolean or HTML according to the 'asHTML' flag.
- Testcases:
- No testcase defined.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables