trackback::new (public)
trackback::new [ -tb_url tb_url ] [ -blog_name blog_name ] \ [ -object_id object_id ] [ -comment_id comment_id ] \ [ -user_id user_id ] [ -creation_ip creation_ip ] \ [ -content content ] [ -comment_mime_type comment_mime_type ] \ [ -is_live is_live ] [ -title title ] [ -context_id context_id ]
Defined in packages/trackback/tcl/trackback-procs.tcl
add new trackback
- Switches:
- -tb_url (optional)
- -blog_name (optional)
- -object_id (optional)
- -comment_id (optional)
- -user_id (optional)
- -creation_ip (optional)
- -content (optional)
- -comment_mime_type (optional)
- -is_live (optional)
- -title (optional)
- -context_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set revision_id [general_comment_new -object_id $object_id -comment_id $comment_id -user_id "" -creation_ip $creation_ip -content $content -comment_mime_type $comment_mime_type -category "" -is_live $is_live -title $title -context_id $object_id] ns_log Debug "Trackback tb_url=$tb_url blog_name=$blog_name" db_dml add_trackback "" return $comment_idXQL Not present: PostgreSQL, Oracle Generic XQL file: <fullquery name="trackback::new.add_trackback"> <querytext> insert into trackback_pings (tb_url, comment_id, name) values (:tb_url, :comment_id, :blog_name) </querytext> </fullquery>packages/trackback/tcl/trackback-procs.xql