relation_segment_has_dependent (public)
relation_segment_has_dependent [ -rel_id rel_id ] \ [ -segment_id segment_id ] [ -party_id party_id ]
Defined in packages/acs-subsite/tcl/relation-procs.tcl
Returns 1 if the specified segment/party combination has a dependent (meaning a constraint would be violated if we removed this relation). 0 otherwise. Either
rel_id
orsegment_id
andparty_id
must be specified.rel_id
takes precedence.
- Switches:
- -rel_id (optional)
- -segment_id (optional)
- -party_id (optional)
- Author:
- Michael Bryzek <mbryzek@arsdigita.com>
- Created:
- 12/2000
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- demote_promote_a_user