attachments::get_attachments (public)

 attachments::get_attachments -object_id object_id \
    [ -base_url base_url ] [ -return_url return_url ]

Defined in packages/attachments/tcl/attachments-procs.tcl

Switches:
-object_id (required)
-base_url (optional)
-return_url (optional)
Returns:
a list of attachment ids and names which are approved: {item_id name url detach_url}

Partial Call Graph (max 5 caller/called nodes):
%3 test_attachments_basic_api attachments_basic_api (test attachments) attachments::get_attachments attachments::get_attachments test_attachments_basic_api->attachments::get_attachments attachments::get_all_attachments attachments::get_all_attachments (public) attachments::get_attachments->attachments::get_all_attachments forum::message::get_attachments forum::message::get_attachments (public, deprecated) forum::message::get_attachments->attachments::get_attachments forum::message::notify_users forum::message::notify_users (private) forum::message::notify_users->attachments::get_attachments packages/calendar/www/cal-item-view.tcl packages/calendar/ www/cal-item-view.tcl packages/calendar/www/cal-item-view.tcl->attachments::get_attachments packages/forums/lib/message/attachment-list.tcl packages/forums/ lib/message/attachment-list.tcl packages/forums/lib/message/attachment-list.tcl->attachments::get_attachments packages/richtext-ckeditor4/lib/file-browser.tcl packages/richtext-ckeditor4/ lib/file-browser.tcl packages/richtext-ckeditor4/lib/file-browser.tcl->attachments::get_attachments

Testcases:
attachments_basic_api
[ show source ]
Show another procedure: