general_comments_get_comments (public)
general_comments_get_comments [ -print_content_p print_content_p ] \ [ -print_attachments_p print_attachments_p ] \ [ -print_user_info_p print_user_info_p ] \ [ -context_id context_id ] \ [ -my_comments_only_p my_comments_only_p ] object_id \ [ return_url ]
Defined in packages/general-comments/tcl/general-comments-procs.tcl
Generates a line item list of comments for the object_id.
- Switches:
- -print_content_p
(defaults to"0"
) (optional)- Pass in 1 to print out content of comments.
- -print_attachments_p
(defaults to"0"
) (optional)- Pass in 1 to print out attachments of comments, only works if print_content_p is 1.
- -print_user_info_p
(defaults to"1"
) (optional)- -context_id
(optional)- Show only comments with given context_id
- -my_comments_only_p
(defaults to"0"
) (optional)- Parameters:
- object_id - The object_id to retrieve the comments for.
return_url (optional) - A url for the user to return to after viewing a comment.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- general_comments_create_retrieve