template::util::get_opts (public)

 template::util::get_opts argv

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

Builds an array named "opts" in the calling frame, containing all switches passed at the end of a proc. The array values are either switch parameters or 1 if no parameter was specified. Problem: there is currently no way to specify an option parameter that begins with a dash. This particularly problematic for negative numbers.

Parameters:
argv (required)

Partial Call Graph (max 5 caller/called nodes):
test_get_opts get_opts (test acs-templating) template::util::get_opts template::util::get_opts test_get_opts->template::util::get_opts doc::get_proc_doc doc::get_proc_doc (private, deprecated) doc::get_proc_doc->template::util::get_opts item::content_methods_by_type item::content_methods_by_type (public, deprecated) item::content_methods_by_type->template::util::get_opts item::get_extended_url item::get_extended_url (public, deprecated) item::get_extended_url->template::util::get_opts item::get_revision_content item::get_revision_content (public, deprecated) item::get_revision_content->template::util::get_opts publish::handle::image publish::handle::image (public) publish::handle::image->template::util::get_opts

Testcases:
get_opts
[ show source ]
Show another procedure: