====== Object comments ====== ===== Available in ===== * [[devdoc:modules:box_comments]] ===== Example ===== Following example ("latest comments" box) creates link back to article page using comment summary as anchor text. ===== Params ===== ^Parameter name ^Value ^Description ^ |id |integer |comment id | |article_id |integer |article id | |description |text |comment body | |create_dt |date |comment creation date | |author |string |author name | |email |string |author email | |ip |string |author IP address | |status |0 %%|%% 1 |comment status | |www |string |author homepage | |get_id |integer |Returns comment id | |get_article_id |integer |Returns article id | |get_article_title |string |Returns article title | |get_article_href |string |Returns article href | |get_description |text |Returns comment body | |get_create_dt |date |Returns comment creation date (formated) | |get_user_id |integer |Returns user id | |get_author |string |Returns author name | |get_email |string |Returns author email | |get_ip |string |Returns author IP address | |get_status |0 %%|%% 1 |Returns comment status | |get_www |string |Returns author homepage | |get_gravatar |string |Returns author gravatar url | |get_author_name |string |Returns author name | |get_summary |string |Returns comment snippet |