xo::db::sql::workflow_case proc get_task_deadline (public)
xo::db::sql::workflow_case get_task_deadline [ -dbn dbn ] \ -callback callback -custom_arg custom_arg \ -attribute_name attribute_name -case_id case_id \ -transition_key transition_key
Defined in /var/www/openacs.org/packages/xotcl-core/tcl/05-db-procs.tcl
Automatically generated method
- Switches:
- -dbn (optional)
- -callback (required)
- -custom_arg (required)
- -attribute_name (required)
- -case_id (required)
- -transition_key (required)
- Testcases:
- No testcase defined.
Source code: #function_args: {CALLBACK {}} {CUSTOM_ARG {}} {ATTRIBUTE_NAME {}} {CASE_ID {}} {TRANSITION_KEY {}} foreach var [list CALLBACK CUSTOM_ARG ATTRIBUTE_NAME CASE_ID TRANSITION_KEY] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select workflow_case__get_task_deadline($_CALLBACK, $_CUSTOM_ARG, $_ATTRIBUTE_NAME, $_CASE_ID, $_TRANSITION_KEY) " 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