xo::PackageMgr instproc first_instance (public)

 <instance of xo::PackageMgr[i]> first_instance \
    [ -privilege privilege ] [ -party_id party_id ]

Defined in packages/xotcl-core/tcl/06-package-procs.tcl

Returns the first mounted instance of this Package. When a privilege and a party are specified, will return the first instance where the party has such privilege.

Switches:
-privilege
(optional)
-party_id
(optional)
the party we are checking the privilege for
Returns:
integer package_id, empty string when none is found

Partial Call Graph (max 5 caller/called nodes):
%3 test_create_form_with_form_instance create_form_with_form_instance (test xowiki) xo::PackageMgr instproc first_instance xo::PackageMgr instproc first_instance test_create_form_with_form_instance->xo::PackageMgr instproc first_instance test_xowiki_test_cases xowiki_test_cases (test xowiki) test_xowiki_test_cases->xo::PackageMgr instproc first_instance db_driverkey db_driverkey (public) xo::PackageMgr instproc first_instance->db_driverkey

Testcases:
xowiki_test_cases, create_form_with_form_instance
[ show source ]
Show another procedure: