- Publicity: Public Only All
rel-segments-procs.tcl
Helpers for relational segments
- Location:
- packages/acs-subsite/tcl/rel-segments-procs.tcl
- Created:
- Tue Dec 12 16:37:45 2000
- Author:
- mbryzek@arsdigita.com
- CVS Identification:
$Id: rel-segments-procs.tcl,v 1.7.2.3 2020/07/21 13:58:55 gustafn Exp $
Procedures in this file
- rel_segment::delete (public)
- rel_segment::new (public)
- rel_segments_delete (public, deprecated)
- rel_segments_new (public, deprecated)
- rel_segments_permission_p (public, deprecated)
Detailed information
rel_segment::delete (public)
rel_segment::delete segment_id
Deletes the specified relational segment including all relational constraints that depend on it.
- Parameters:
- segment_id (required)
- Author:
- Michael Bryzek <mbryzek@arsdigita.com>
- Created:
- 1/12/2001
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs_subsite_rel_segment_new
rel_segment::new (public)
rel_segment::new [ -context_id context_id ] \ [ -creation_user creation_user ] [ -creation_ip creation_ip ] \ group_id rel_type segment_name
Creates a new relational segment
- Switches:
- -context_id (optional)
- -creation_user (optional)
- -creation_ip (optional)
- Parameters:
- group_id (required)
- rel_type (required)
- segment_name (required)
- Returns:
- The
segment_id
of the new segment- Author:
- Michael Bryzek <mbryzek@arsdigita.com>
- Created:
- 12/2000
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs_subsite_expose_bug_775, acs_subsite_rel_segment_new
rel_segments_delete (public, deprecated)
rel_segments_delete segment_id
Deprecated. Invoking this procedure generates a warning.
Deletes the specified relational segment including all relational constraints that depend on it.
- Parameters:
- segment_id (required)
- Author:
- Michael Bryzek <mbryzek@arsdigita.com>
- Created:
- 1/12/2001 DEPRECATED: does not comply with OpenACS naming convention
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
rel_segments_new (public, deprecated)
rel_segments_new [ args... ]
Deprecated. Invoking this procedure generates a warning.
Creates a new relational segment
- Returns:
- The
segment_id
of the new segment DEPRECATED: does not comply with OpenACS naming convention- Author:
- Michael Bryzek <mbryzek@arsdigita.com>
- Created:
- 12/2000
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
rel_segments_permission_p (public, deprecated)
rel_segments_permission_p [ -user_id user_id ] \ [ -privilege privilege ] segment_id
Deprecated. Invoking this procedure generates a warning.
Wrapper for ad_permission to allow us to bypass having to specify the read privilege Deprecated: just another wrapper for permission::permission_p
- Switches:
- -user_id (optional)
- -privilege (optional, defaults to
"read"
)- Parameters:
- segment_id (required)
- Author:
- Michael Bryzek <mbryzek@arsdigita.com>
- Created:
- 12/2000
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.