email_image::get_priv_email_from_parameter (private)

 email_image::get_priv_email_from_parameter [ -subsite_id subsite_id ]

Defined in packages/acs-subsite/tcl/email-image-procs.tcl

Returns the priv_email field of the user from the users table.

Switches:
-subsite_id (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 email_image::get_priv_email email_image::get_priv_email (public) email_image::get_priv_email_from_parameter email_image::get_priv_email_from_parameter email_image::get_priv_email->email_image::get_priv_email_from_parameter email_image::get_user_email email_image::get_user_email (public) email_image::get_user_email->email_image::get_priv_email_from_parameter ad_conn ad_conn (public) email_image::get_priv_email_from_parameter->ad_conn apm_package_ids_from_key apm_package_ids_from_key (public) email_image::get_priv_email_from_parameter->apm_package_ids_from_key parameter::get parameter::get (public) email_image::get_priv_email_from_parameter->parameter::get

Testcases:
No testcase defined.
Source code:
    if {$subsite_id eq ""} {
        if {[ns_conn isconnected]} {
            set subsite_id [ad_conn subsite_id]
        } else {
            set subsite_id [lindex [apm_package_ids_from_key -package_key acs-subsite -mounted] 0]
        }
    }
    return [parameter::get  -package_id $subsite_id  -parameter "PrivateEmailLevelP"  -default 4]
Generic XQL file:
packages/acs-subsite/tcl/email-image-procs.xql

PostgreSQL XQL file:
packages/acs-subsite/tcl/email-image-procs-postgresql.xql

Oracle XQL file:
packages/acs-subsite/tcl/email-image-procs-oracle.xql

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