subsite::main_site_id (public)

 subsite::main_site_id

Defined in packages/acs-subsite/tcl/subsite-procs.tcl

Get the package_id of the Main Site. The Main Site is the subsite that is always mounted at '/' and that has a number of site-wide parameter settings.

Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_subsite_test_email_confirmation acs_subsite_test_email_confirmation (test acs-subsite) subsite::main_site_id subsite::main_site_id test_acs_subsite_test_email_confirmation->subsite::main_site_id test_acs_subsite_trivial_smoke_test acs_subsite_trivial_smoke_test (test acs-subsite) test_acs_subsite_trivial_smoke_test->subsite::main_site_id test_password_recovery_page password_recovery_page (test acs-subsite) test_password_recovery_page->subsite::main_site_id test_site_node_closest_ancestor_package site_node_closest_ancestor_package (test acs-tcl) test_site_node_closest_ancestor_package->subsite::main_site_id site_node::get_from_url site_node::get_from_url (public) subsite::main_site_id->site_node::get_from_url apm::process_install_xml apm::process_install_xml (public) apm::process_install_xml->subsite::main_site_id auth::create_local_account auth::create_local_account (public) auth::create_local_account->subsite::main_site_id packages/acs-subsite/lib/user-new.tcl packages/acs-subsite/ lib/user-new.tcl packages/acs-subsite/lib/user-new.tcl->subsite::main_site_id packages/acs-subsite/www/admin/site-map/allow-for-view.tcl packages/acs-subsite/ www/admin/site-map/allow-for-view.tcl packages/acs-subsite/www/admin/site-map/allow-for-view.tcl->subsite::main_site_id packages/acs-subsite/www/members/member-invite.tcl packages/acs-subsite/ www/members/member-invite.tcl packages/acs-subsite/www/members/member-invite.tcl->subsite::main_site_id

Testcases:
acs_subsite_trivial_smoke_test, acs_subsite_test_email_confirmation, password_recovery_page, site_node_closest_ancestor_package
Source code:
    return [dict get [site_node::get_from_url -url "/"] object_id]
XQL Not present:
Generic
PostgreSQL XQL file:
packages/acs-subsite/tcl/subsite-procs-postgresql.xql

Oracle XQL file:
packages/acs-subsite/tcl/subsite-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: