application_data_link::get_links_from (public)

 application_data_link::get_links_from -object_id object_id \
    [ -to_type to_type ] [ -relation_tag relation_tag ]

Defined in packages/acs-tcl/tcl/application-data-link-procs.tcl

Get a list of objects that are linked from an object, possible using the relation_tag. If to_type is a subtype of content_revision, we lookup content_items that have that content_type

Switches:
-object_id (required)
object_id one, get objects linked from this object
-to_type (optional)
object_type of the objects to get links to
-relation_tag (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_data_links_update_links data_links_update_links (test acs-tcl) application_data_link::get_links_from application_data_link::get_links_from test_data_links_update_links->application_data_link::get_links_from test_data_links_update_links_with_tag data_links_update_links_with_tag (test acs-tcl) test_data_links_update_links_with_tag->application_data_link::get_links_from content::type::is_content_type content::type::is_content_type (public) application_data_link::get_links_from->content::type::is_content_type db_list db_list (public) application_data_link::get_links_from->db_list db_map db_map (public) application_data_link::get_links_from->db_map application_data_link::update_links_from application_data_link::update_links_from (public) application_data_link::update_links_from->application_data_link::get_links_from

Testcases:
data_links_update_links, data_links_update_links_with_tag
[ show source ]
Show another procedure: