api_proc_format_switch (private)
api_proc_format_switch xotclArgs flags switch
Defined in packages/acs-api-browser/tcl/acs-api-documentation-procs.tcl
- Parameters:
- xotclArgs (required)
- flags (required)
- switch (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if {$xotclArgs} { if {"boolean" in $flags} { set value "<i>on|off</i> " } elseif {"switch" in $flags} { set value "" } else { set value "</i>$switch</i> " } if {"required" in $flags} { set result "-$switch $value" } else { set result "\[ -$switch $value\]" } } else { if {"boolean" in $flags} { set result "\[ -$switch \]" } elseif {"required" in $flags} { set result "-$switch <i>$switch</i>" } else { set result "\[ -$switch <i>$switch</i> \]" } } return $resultXQL Not present: Generic, PostgreSQL, Oracle