bug_tracker::version_get_name (public)

 bug_tracker::version_get_name [ -package_id package_id ] \
    -version_id version_id

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

Switches:
-package_id (optional)
-version_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::get bug_tracker::bug::get (public) bug_tracker::version_get_name bug_tracker::version_get_name bug_tracker::bug::get->bug_tracker::version_get_name bug_tracker::bug::get_multirow bug_tracker::bug::get_multirow (public) bug_tracker::bug::get_multirow->bug_tracker::version_get_name packages/bug-tracker/www/patch.tcl packages/bug-tracker/ www/patch.tcl packages/bug-tracker/www/patch.tcl->bug_tracker::version_get_name _ _ (public) bug_tracker::version_get_name->_ bug_tracker::version_get_options bug_tracker::version_get_options (public) bug_tracker::version_get_name->bug_tracker::version_get_options

Testcases:
No testcase defined.
Source code:
    if { $version_id eq "" } {
        return {}
    }
    foreach elm [version_get_options -package_id $package_id] {
        lassign $elm name id
        if {$id eq $version_id} {
            return $name
        }
    }
    error [_ bug-tracker.Version_id [list version_id $version_id]]
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: