xowiki::Package proc get_package_id_from_page_id (public)
xowiki::Package get_package_id_from_page_id \ [ -revision_id revision_id ] [ -item_id item_id ]
Defined in /var/www/openacs.org/packages/xowiki/tcl/package-procs.tcl
Obtain the package_id from either the item_id or the revision_id of a page
- Switches:
- -revision_id (optional, defaults to
"0"
)- -item_id (optional, defaults to
"0"
)- Testcases:
- create_workflow_with_instance