ad_pdm

one of the documented procedures in this installation of the ACS
Usage:
ad_pdm   { menu_key "" }   { x_offset "" }   { y_offset "" }   { db "" }   { flush_p "f" }
What it does:
Returns a script that sets up the javascript parameters for a particular menu bar.
Defined in: /web/philip/tcl/pull-down-menu-defs.tcl

Source code:



    set user_id [ad_verify_and_get_user_id]

    if { $user_id } {
	set registered_p 1
    } {
	set registered_p 0
    }


    if {$flush_p == "t"}  {
	util_memoize_flush "ad_pdm_helper \"$menu_key\" \"$x_offset\" \"$y_offset\" $registered_p"
    }

    return [util_memoize "ad_pdm_helper \"$menu_key\" \"$x_offset\" \"$y_offset\" $registered_p"]


philg@mit.edu