• Publicity: Public Only All

subsite-callback-procs.tcl

Procs to support a simple callback mechanism that allows other applications to register callbacks triggered when objects, like groups, in the subsite application are created.

Location:
packages/acs-subsite/tcl/subsite-callback-procs.tcl
Created:
Wed Feb 21 17:10:24 2001
Author:
mbryzek@arsdigita.com
CVS Identification:
$Id: subsite-callback-procs.tcl,v 1.10.2.3 2022/02/13 16:46:47 gustafn Exp $

Procedures in this file

Detailed information

subsite::callback (public)

 subsite::callback [ -object_type object_type ] event_type object_id

Executes any registered callbacks for this object.

Example:

    # Execute any callbacks registered for this object type or one of
    # its parent object types
    subsite::callback -object_type $object_type $object_id
    

Switches:
-object_type
(optional)
The object's type. We look this up in the db if not specified
Parameters:
event_type
object_id
Author:
Michael Bryzek <mbryzek@arsdigita.com>
Created:
12/2000

Partial Call Graph (max 5 caller/called nodes):
%3 package_instantiate_object package_instantiate_object (public) subsite::callback subsite::callback package_instantiate_object->subsite::callback subsite_callback subsite_callback (public, deprecated) subsite_callback->subsite::callback ad_conn ad_conn (public) subsite::callback->ad_conn db_foreach db_foreach (public) subsite::callback->db_foreach

Testcases:
No testcase defined.

subsite_callback (public, deprecated)

 subsite_callback [ args... ]
Deprecated. Invoking this procedure generates a warning.

Executes any registered callbacks for this object.

Example:

    # Execute any callbacks registered for this object type or one of
    # its parent object types
    subsite_callback -object_type $object_type $object_id
    

Author:
Michael Bryzek <mbryzek@arsdigita.com>
Created:
12/2000
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) subsite::callback subsite::callback (public) subsite_callback subsite_callback subsite_callback->ad_log_deprecated subsite_callback->subsite::callback

Testcases:
No testcase defined.
[ show source ]