xo::db::sql::wf_article_callback proc notification (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 body
Defined in /var/www/openacs.org/packages/xotcl-core/tcl/05-db-procs.tcl
Automatically generated method
- Switches:
- -dbn (optional)
- -task_id (required)
- -custom_arg (required)
- -party_to (required)
- -party_from (required)
- -subject (required)
- -body (required)
- Testcases:
- No testcase defined.
Source code: #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 ] }XQL Not present: Generic, PostgreSQL, Oracle