install::xml::util::get_id (public)
install::xml::util::get_id id
Defined in packages/acs-tcl/tcl/install-procs.tcl
Returns an id from the global ids variable if it exists and attempts to find an acs_magic_object if not.
- Parameters:
- id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: variable ::install::xml::ids if {[catch { if {[string is integer $id]} { set result $id } elseif {[info exists ids($id)]} { set result $ids($id) } else { set result [acs_magic_object $id] } } err]} { error "$id is not an integer, is not defined in this install.xml, and is not an acs_magic_object" } return $resultXQL Not present: Generic, PostgreSQL, Oracle