notification::display::get_urls (public)

 notification::display::get_urls -type type -object_id object_id \
    [ -return_url return_url ] [ -pretty_name pretty_name ] \
    [ -user_id user_id ]

Defined in packages/notifications/tcl/notification-display-procs.tcl

Get both subscribe_url and unsubscribe_url as a list. At most one of them will be set. Example:

    lassign [notification::display::get_urls  -type "my_notif_type"  -object_id $object_id  -pretty_name $title] subscribe_url unsubscribe_url
    

Switches:
-type (required)
-object_id (required)
-return_url (optional)
-pretty_name (optional)
-user_id (optional)
Returns:
a Tcl list with two elements (subscribe_url, unsubscribe_url)

Partial Call Graph (max 5 caller/called nodes):
%3 ad_conn ad_conn (public) ad_return_url ad_return_url (public) apm_package_url_from_key apm_package_url_from_key (public) export_vars export_vars (public) notification::package_key notification::package_key (public) notification::display::get_urls notification::display::get_urls notification::display::get_urls->ad_conn notification::display::get_urls->ad_return_url notification::display::get_urls->apm_package_url_from_key notification::display::get_urls->export_vars notification::display::get_urls->notification::package_key

Testcases:
No testcase defined.
[ show source ]
Show another procedure: