CommentInfo Class

CommentInfo Class — Information about comments attached to something.

Members

int count

Current number of comments available to be read by the viewer.

bool enabled

Set to false if comments disabled journal-wide or just on this item.

bool maxcomments

Set to true if entry has reached a comment maximum.

string post_url

(Read-only) URL pointer to the 'Post Comments' view.

string read_url

(Read-only) URL pointer to the 'Read Comments' view.

bool screened

Set to true if there are screened comments and remote user can unscreen them.

bool show_postlink

Indicates whether the Post Comment link for this entry should be shown.

bool show_readlink

Indicates whether the Read Comments link for this entry should be shown.

Methods

print() : void

Print all comment related links

print_postlink() : void

Print the formatted link to the 'Post Comments' view

print_readlink() : void

Print the formatted link to the 'Read Comments' view