- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::db::sql::wf_article_callback
::xo::db::sql::wf_article_callback create ...
Class Relations
::xo::db::Class create ::xo::db::sql::wf_article_callback \ -superclass ::xotcl::ObjectMethods (to be applied on the object)
notification (scripted, public)
xo::db::sql::wf_article_callback notification [ -dbn dbn ] \ -task_id task_id -custom_arg custom_arg -party_to party_to \ -party_from party_from -subject subject -body bodyAutomatically generated method
- Switches:
- -dbn
(optional)- -task_id
(required)- -custom_arg
(required)- -party_to
(required)- -party_from
(required)- -subject
(required)- -body
(required)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
#function_args: {TASK_ID {}} {CUSTOM_ARG {}} {PARTY_TO {}} {PARTY_FROM {}} {SUBJECT {}} {BODY {}} foreach var [list TASK_ID CUSTOM_ARG PARTY_TO PARTY_FROM SUBJECT BODY] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select wf_article_callback__notification($_TASK_ID, $_CUSTOM_ARG, $_PARTY_TO, $_PARTY_FROM, $_SUBJECT, $_BODY) " 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