relation::get_object_one (public)

 relation::get_object_one -object_id_two object_id_two \
    [ -rel_type rel_type ] [ -multiple ]

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

Return the object_id of object one if a relation of rel_type exists between the supplied object_id_two and it.

Switches:
-object_id_two (required)
-rel_type (optional, defaults to "membership_rel")
-multiple (optional, boolean)

Testcases:
acs_subsite_relation_procs, category_tree_procs
[ show source ]
Show another procedure: