group::get_rel_types_options (public)
group::get_rel_types_options -group_id group_id \ [ -object_type object_type ]
Defined in packages/acs-subsite/tcl/group-procs.tcl
Get the valid relationship-types for this group in a format suitable for a select widget in the form builder. The label used is the name of the role for object two.
- Switches:
- -group_id
(required)- The ID of the group for which to get options.
- -object_type
(defaults to"person"
) (optional)- The object type which must occupy side two of the relationship. Typically 'person' or 'group'.
- Returns:
- a list of lists with label (role two pretty name) and ID (rel_type)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.