bug_tracker::version_get_options (public)

 bug_tracker::version_get_options [ -package_id package_id ] \
    [ -include_unknown ] [ -include_undecided ]

Defined in packages/bug-tracker/tcl/bug-tracker-procs.tcl

Switches:
-package_id (optional)
-include_unknown (optional, boolean)
-include_undecided (optional, boolean)

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::version_get_name bug_tracker::version_get_name (public) bug_tracker::version_get_options bug_tracker::version_get_options bug_tracker::version_get_name->bug_tracker::version_get_options packages/acs-tcl/lib/page-error.tcl packages/acs-tcl/ lib/page-error.tcl packages/acs-tcl/lib/page-error.tcl->bug_tracker::version_get_options packages/bug-tracker/www/bug-add.tcl packages/bug-tracker/ www/bug-add.tcl packages/bug-tracker/www/bug-add.tcl->bug_tracker::version_get_options packages/bug-tracker/www/bug.tcl packages/bug-tracker/ www/bug.tcl packages/bug-tracker/www/bug.tcl->bug_tracker::version_get_options packages/bug-tracker/www/bulk-update-op.tcl packages/bug-tracker/ www/bulk-update-op.tcl packages/bug-tracker/www/bulk-update-op.tcl->bug_tracker::version_get_options _ _ (public) bug_tracker::version_get_options->_ ad_conn ad_conn (public) bug_tracker::version_get_options->ad_conn bug_tracker::version_get_options_not_cached bug_tracker::version_get_options_not_cached (public) bug_tracker::version_get_options->bug_tracker::version_get_options_not_cached util_memoize util_memoize (public) bug_tracker::version_get_options->util_memoize

Testcases:
No testcase defined.
Source code:
    if { $package_id eq "" } {
        set package_id [ad_conn package_id]
    }

    set versions_list [util_memoize [list bug_tracker::version_get_options_not_cached $package_id]]

    if { $include_unknown_p } {
        set versions_list [concat [list [list [_ bug-tracker.Unknown] "" ] ] $versions_list]
    }

    if { $include_undecided_p } {
        set versions_list [concat [list [list [_ bug-tracker.Undecided] "" ] ] $versions_list]
    }

    return $versions_list
Generic XQL file:
packages/bug-tracker/tcl/bug-tracker-procs.xql

PostgreSQL XQL file:
packages/bug-tracker/tcl/bug-tracker-procs-postgresql.xql

Oracle XQL file:
packages/bug-tracker/tcl/bug-tracker-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: