relation::get (public)

 relation::get -rel_id rel_id [ -element element ]

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

Return information about a relation for the given rel_id.

Switches:
-rel_id (required)
The relation ID.
-element (optional)
If specified, return only this element.
Returns:
A dict containing rel_id, rel_type, object_id_one and object_id_two, or a single value when -element is specified.

Partial Call Graph (max 5 caller/called nodes):
db_1row db_1row (public) relation::get relation::get relation::get->db_1row

Testcases:
No testcase defined.
[ show source ]
Show another procedure: