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_idorsegment_idandparty_idmust be specified.rel_idtakes 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