• Publicity: Public Only All

directory-procs.tcl

Definitions for the User Directory module

Location:
packages/directory/tcl/directory-procs.tcl
Author:
Mike Bonnet <mikeb@arsdigita.com>
CVS Identification:
$Id: directory-procs.tcl,v 1.7 2018/10/22 08:32:17 gustafn Exp $

Procedures in this file

Detailed information

dir_all_letters (public)

 dir_all_letters

returns a list of all A-Z letters in uppercase

Partial Call Graph (max 5 caller/called nodes):
%3 dir_alpha_nav_bar dir_alpha_nav_bar (public) dir_all_letters dir_all_letters dir_alpha_nav_bar->dir_all_letters

Testcases:
No testcase defined.

dir_alpha_nav_bar (public)

 dir_alpha_nav_bar [ -group_id group_id ] [ -all_users all_users ] \
    letter [ excluded_vars ]

Returns an A-Z bar with greyed out letters not in initial_list and bolds "letter". Includes all existing url vars except those in the "excluded_vars" list.

Switches:
-group_id
(optional)
-all_users
(optional)
Parameters:
letter
excluded_vars (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 packages/directory/www/index.tcl packages/directory/ www/index.tcl dir_alpha_nav_bar dir_alpha_nav_bar packages/directory/www/index.tcl->dir_alpha_nav_bar ad_conn ad_conn (public) dir_alpha_nav_bar->ad_conn db_list db_list (public) dir_alpha_nav_bar->db_list db_map db_map (public) dir_alpha_nav_bar->db_map dir_all_letters dir_all_letters (public) dir_alpha_nav_bar->dir_all_letters dir_app_group_info dir_app_group_info (public) dir_alpha_nav_bar->dir_app_group_info

Testcases:
No testcase defined.

dir_app_group_info (public)

 dir_app_group_info

Return a list containing the group_id (lindex 0) and group_name (lindex 1) of the application group associated with the subsite that the current directory package is mounted under. The directory package does not need to be mounted directly under the subsite; it will find the closest instance of subsite than is an ancestor of the package.

Partial Call Graph (max 5 caller/called nodes):
%3 dir_alpha_nav_bar dir_alpha_nav_bar (public) dir_app_group_info dir_app_group_info dir_alpha_nav_bar->dir_app_group_info packages/directory/www/index.tcl packages/directory/ www/index.tcl packages/directory/www/index.tcl->dir_app_group_info ad_conn ad_conn (public) dir_app_group_info->ad_conn db_1row db_1row (public) dir_app_group_info->db_1row

Testcases:
No testcase defined.

dir_navbar_list (public)

 dir_navbar_list [ -top ] [ navbar_list_list ]
Switches:
-top
(boolean) (optional)
Parameters:
navbar_list_list (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 packages/directory/www/index.tcl packages/directory/ www/index.tcl dir_navbar_list dir_navbar_list packages/directory/www/index.tcl->dir_navbar_list ad_conn ad_conn (public) dir_navbar_list->ad_conn site_node::closest_ancestor_package site_node::closest_ancestor_package (public) dir_navbar_list->site_node::closest_ancestor_package site_node::get_url_from_object_id site_node::get_url_from_object_id (public) dir_navbar_list->site_node::get_url_from_object_id

Testcases:
No testcase defined.

dir_subsite_info (public)

 dir_subsite_info

Return a list containing the subsite_id (lindex 0) and subsite_name (lindex 1) of the subsite that the current directory package is mounted under. The directory package does not need to be mounted directly under the subsite; it will find the closest instance of subsite than is an ancestor of the package.

Partial Call Graph (max 5 caller/called nodes):
%3 ad_conn ad_conn (public) subsite::get_element subsite::get_element (public) dir_subsite_info dir_subsite_info dir_subsite_info->ad_conn dir_subsite_info->subsite::get_element

Testcases:
No testcase defined.
[ show source ]