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 (optional, integer, defaults to
"0"
)- Pass in 1 to print out content of comments.
- -print_attachments_p (optional, integer, defaults to
"0"
)- Pass in 1 to print out attachments of comments, only works if print_content_p is 1.
- -print_user_info_p (optional, integer, defaults to
"1"
)- -context_id (optional, integer, accept empty)
- Show only comments with given context_id
- -my_comments_only_p (optional, integer, defaults to
"0"
)- Parameters:
- object_id (required)
- 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