site_node::get_element (public)

 site_node::get_element [ -node_id node_id ] [ -url url ] \
    -element element

Defined in packages/acs-tcl/tcl/site-nodes-procs.tcl

returns an element from the array representing the site node that matches the given url either url or node_id is required, if both are passed url is ignored The array elements are: package_id, package_key, object_type, directory_p, instance_name, pattern_p, parent_id, node_id, object_id, url.

Switches:
-node_id (optional)
-url (optional)
-element (required)
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 test_site_node_verify_folder_name site_node_verify_folder_name (test acs-tcl) site_node::get_element site_node::get_element test_site_node_verify_folder_name->site_node::get_element site_node::get site_node::get (public) site_node::get_element->site_node::get acs::test::require_package_instance acs::test::require_package_instance (public) acs::test::require_package_instance->site_node::get_element http_auth::site_node_authorize http_auth::site_node_authorize (public) http_auth::site_node_authorize->site_node::get_element install::xml::action::application-link install::xml::action::application-link (private) install::xml::action::application-link->site_node::get_element install::xml::action::forum-create install::xml::action::forum-create (private) install::xml::action::forum-create->site_node::get_element packages/acs-subsite/www/admin/host-node-map/index.tcl packages/acs-subsite/ www/admin/host-node-map/index.tcl packages/acs-subsite/www/admin/host-node-map/index.tcl->site_node::get_element

Testcases:
site_node_verify_folder_name
Source code:
    return [dict get [site_node::get -node_id $node_id -url $url$element]
Generic XQL file:
packages/acs-tcl/tcl/site-nodes-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/site-nodes-procs-postgresql.xql

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

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