email_image::get_user_email (public)

 email_image::get_user_email -user_id user_id \
    [ -return_url return_url ] [ -bgcolor bgcolor ] \
    [ -transparent transparent ] [ -subsite_id subsite_id ]

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

Returns the email in different ways (text level 4, image or text and image level 3, link level 2, ...) according to the priv_email field in the users table. To create an image the ImageMagick software is required, if ImageMagick is not present then the @ symbol in the email will be shown as an image. When creating an image you can choose the background color (In this format \#xxxxxx). Also you can make the background color transparent (1 or 0).

Switches:
-user_id (required)
-return_url (optional)
The url to return when the email is shown as a link
-bgcolor (optional)
The Background color of the image. Default to \#ffffff
-transparent (optional)
If the bgcolor is transparent. Default to 1
-subsite_id (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 packages/acs-subsite/www/members/index.tcl packages/acs-subsite/ www/members/index.tcl email_image::get_user_email email_image::get_user_email packages/acs-subsite/www/members/index.tcl->email_image::get_user_email packages/acs-subsite/www/shared/community-member.tcl packages/acs-subsite/ www/shared/community-member.tcl packages/acs-subsite/www/shared/community-member.tcl->email_image::get_user_email content::item::get_latest_revision content::item::get_latest_revision (public) email_image::get_user_email->content::item::get_latest_revision email_image::get_email email_image::get_email (public) email_image::get_user_email->email_image::get_email email_image::get_priv_email email_image::get_priv_email (public) email_image::get_user_email->email_image::get_priv_email email_image::get_priv_email_from_parameter email_image::get_priv_email_from_parameter (private) email_image::get_user_email->email_image::get_priv_email_from_parameter email_image::get_related_item_id email_image::get_related_item_id (public) email_image::get_user_email->email_image::get_related_item_id

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