category::context_bar (private)

 category::context_bar tree_id locale object_id [ ctx_id ]

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

Creates the standard context bar

Parameters:
tree_id (required)
locale (required)
object_id (required)
ctx_id (optional)
Author:
Timo Hentschel <timo@timohentschel.de>

Partial Call Graph (max 5 caller/called nodes):
%3 packages/categories/www/cadmin/category-delete.tcl packages/categories/ www/cadmin/category-delete.tcl category::context_bar category::context_bar packages/categories/www/cadmin/category-delete.tcl->category::context_bar packages/categories/www/cadmin/category-form.tcl packages/categories/ www/cadmin/category-form.tcl packages/categories/www/cadmin/category-form.tcl->category::context_bar packages/categories/www/cadmin/category-link-add-2.tcl packages/categories/ www/cadmin/category-link-add-2.tcl packages/categories/www/cadmin/category-link-add-2.tcl->category::context_bar packages/categories/www/cadmin/category-link-add.tcl packages/categories/ www/cadmin/category-link-add.tcl packages/categories/www/cadmin/category-link-add.tcl->category::context_bar packages/categories/www/cadmin/category-link-delete.tcl packages/categories/ www/cadmin/category-link-delete.tcl packages/categories/www/cadmin/category-link-delete.tcl->category::context_bar _ _ (public) category::context_bar->_ category::get_object_context category::get_object_context (public) category::context_bar->category::get_object_context category_tree::get_name category_tree::get_name (public) category::context_bar->category_tree::get_name export_vars export_vars (public) category::context_bar->export_vars

Testcases:
No testcase defined.
Source code:
    if {$ctx_id eq ""} {unset ctx_id}
    if {$object_id ne ""} {
        set context_bar [list [category::get_object_context $object_id] [list [export_vars -no_empty -base object-map {locale object_id ctx_id}] [_ categories.cadmin]]]
    } else {
        set context_bar [list [list [export_vars -base . -no_empty {locale ctx_id}] [_ categories.cadmin]]]
    }
    lappend context_bar [list [export_vars -no_empty -base tree-view {tree_id locale object_id ctx_id}] [category_tree::get_name $tree_id $locale]]

    return $context_bar
XQL Not present:
Generic
PostgreSQL XQL file:
packages/categories/tcl/categories-procs-postgresql.xql

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

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