xowiki::Package proc instantiate_page_from_id (public)
xowiki::Package instantiate_page_from_id [ -revision_id revision_id ] \ [ -item_id item_id ] [ -user_id user_id ] [ -parameter parameter ]
Defined in /var/www/openacs.org/packages/xowiki/tcl/package-procs.tcl
Instantiate a page in situations, where the connection context is not set up (e.g. we have no package object). This call is convenient when testing e.g. from the developer shell.
- Switches:
- -revision_id (optional, defaults to
"0"
)- -item_id (optional, defaults to
"0"
)- -user_id (optional, defaults to
"-1"
)- -parameter (optional)
- Testcases:
- create_workflow_with_instance