general_comments_new (public)
general_comments_new -object_id object_id -comment_id comment_id \
-title title -comment_mime_type comment_mime_type \
-context_id context_id [ -user_id user_id ] \
[ -creation_ip creation_ip ] -is_live is_live -category category \
-content contentDefined in packages/general-comments/tcl/general-comments-procs.tcl
Creates a comment and attaches it to a given object ID
- Switches:
- -object_id (required)
- -comment_id (required)
- -title (required)
- -comment_mime_type (required)
- -context_id (required)
- -user_id (optional)
- -creation_ip (optional)
- -is_live (required)
- -category (required)
- -content (required)
- Returns:
- Error:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- general_comments_create_retrieve