category::ad_form::get_categories (public)

 category::ad_form::get_categories \
    -container_object_id container_object_id \
    [ -element_name element_name ]

Defined in packages/categories/tcl/category-form-procs.tcl

Collects categories from the category widget in the format compatible with category::add_ad_form_elements. To be used in the -on_submit clause of ad_form.

Switches:
-container_object_id (required)
-element_name (optional, defaults to "category_id")
Author:
Branimir Dolicki <bdolicki@branimir.com>

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