attachments::attach (public)

 attachments::attach -object_id object_id -attachment_id attachment_id \
    [ -approved_p approved_p ]

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

perform the attachment

Switches:
-object_id (required)
-attachment_id (required)
-approved_p (optional, defaults to "t")

Partial Call Graph (max 5 caller/called nodes):
%3 test_attachments_basic_api attachments_basic_api (test attachments) attachments::attach attachments::attach test_attachments_basic_api->attachments::attach db_dml db_dml (public) attachments::attach->db_dml attachments::richtext::file_attach attachments::richtext::file_attach (public) attachments::richtext::file_attach->attachments::attach packages/attachments/www/attach-2.tcl packages/attachments/ www/attach-2.tcl packages/attachments/www/attach-2.tcl->attachments::attach packages/attachments/www/file-add-2.tcl packages/attachments/ www/file-add-2.tcl packages/attachments/www/file-add-2.tcl->attachments::attach packages/attachments/www/simple-add-2.tcl packages/attachments/ www/simple-add-2.tcl packages/attachments/www/simple-add-2.tcl->attachments::attach packages/forums/lib/message/post.tcl packages/forums/ lib/message/post.tcl packages/forums/lib/message/post.tcl->attachments::attach

Testcases:
attachments_basic_api
[ show source ]
Show another procedure: