email_image::get_related_item_id (public)
email_image::get_related_item_id -user_id user_id
Defined in packages/acs-subsite/tcl/email-image-procs.tcl
Returns the item_id of the email_image stored in the content repository for user_id.
- Switches:
- -user_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: return [db_string get_rel_item {} -default -1 ]Generic XQL file: <fullquery name="email_image::get_related_item_id.get_rel_item"> <querytext> select object_id_two from acs_rels where rel_type = 'email_image_rel' and object_id_one = :user_id </querytext> </fullquery>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