template::util::nvl (public, deprecated)

 template::util::nvl value value_if_null

Defined in packages/acs-templating/tcl/util-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Analogous to SQL NVL DEPRECATED: a plain Tcl oneliner can easily replace this proc

Parameters:
value
value_if_null
See Also:
  • expr {$value ne "" ? $value : $value_if_null}

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) template::util::nvl template::util::nvl template::util::nvl->ad_log_deprecated

Testcases:
No testcase defined.
[ show source ]
Show another procedure: