- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::db::sql::subsite_callback
::xo::db::sql::subsite_callback create ...
Defined in
Class Relations
::xo::db::Class create ::xo::db::sql::subsite_callback \ -superclass ::xotcl::ObjectMethods (to be applied on the object)
delete (scripted, public)
xo::db::sql::subsite_callback delete [ -dbn dbn ] \ -callback_id callback_idAutomatically generated method
- Switches:
- -dbn (optional)
- -callback_id (required)
- Testcases:
- No testcase defined.
#function_args: {CALLBACK_ID {}} foreach var [list CALLBACK_ID] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select subsite_callback__delete($_CALLBACK_ID) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }new (scripted, public)
xo::db::sql::subsite_callback new [ -dbn dbn ] \ [ -callback_id callback_id ] -event_type event_type \ -object_type object_type -callback callback \ -callback_type callback_type [ -sort_order sort_order ] \ [ -childof childof ]Automatically generated method
- Switches:
- -dbn (optional)
- -callback_id (optional)
- -event_type (required)
- -object_type (required)
- -callback (required)
- -callback_type (required)
- -sort_order (optional)
- -childof (optional)
- Testcases:
- No testcase defined.
#function_args: {CALLBACK_ID null} {EVENT_TYPE {}} {OBJECT_TYPE {}} {CALLBACK {}} {CALLBACK_TYPE {}} {SORT_ORDER null} foreach var [list CALLBACK_ID EVENT_TYPE OBJECT_TYPE CALLBACK CALLBACK_TYPE SORT_ORDER] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select subsite_callback__new($_CALLBACK_ID, $_EVENT_TYPE, $_OBJECT_TYPE, $_CALLBACK, $_CALLBACK_TYPE, $_SORT_ORDER) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables