CommentInfo comments
| Comment information on this entry
|
int depth
| Visual depth of entry. Top-level journal entries are always depth zero. Comments have a depth greater than or equal to one, depending on where the thread is rooted at.
|
string dom_id
| The DOM 'id' attribute you should put on your outer-most element (Read-only)
|
bool end_day
| Is this the last entry of a day?
|
int itemid
| Server stored ID number for this entry
|
UserLite journal
| Journal the entry has been posted to. Will not be equal to Entry.poster if entry is posted to a Community, News or Shared journal.
|
string[] link_keyseq
| An array of keys which you should pass to Entry.get_link(string) to produce an entry 'toolbar'. Does not contain 'nav_next' and 'nav_prev' for entries; you should retrieve those separately and put them somewhere appropriate for your layout. (Array elements.)
|
string{} metadata
| Post metadata. (Array keys.) (Read-only)
|
Image mood_icon
| Mood icon, or null.
|
bool new_day
| Is this entry on a different day to the previous one?
|
string permalink_url
| A URL at which this specific entry can be viewed, for linking purposes. (Read-only)
|
UserLite poster
| Author of the entry, or null if an anonymous comment. Will be equal to Entry.poster if entry is posted to a Personal or Syndicated journal.
|
string security
| The security level of the entry. 'private', 'protected', or blank if public. (Read-only)
|
Image security_icon
| A little icon which should be displayed somewhere on an entry to represent the security setting.
|
string subject
| Subject. May contain HTML. Don't do substring chops on this. (Read-only)
|
DateTime system_time
| The system time (in GMT) this entry or comment was posted.
|
Tag[] tags
| Array of tags applied to this entry. (Read-only)
|
string text
| Entry Text; Use Entry.print_text() to print this so that the entry's trust level is not affected by your layer's trust level. (Read-only)
|
bool text_must_print_trusted
| Indicates that this entry's text contains some content that must be printed trusted, with Entry.print_text(), rather than printed directly from an untrusted context. Use this to fall back to a plain trusted print if you are doing something unusual with Entry.text. Most layers can just ignore this and always use Entry.print_text(). (Read-only)
|
DateTime time
| The user-specified time of the post, or the GMT time if it's a comment.
|
Image userpic
| The userpic selected to relate to this entry.
|
get_link(string key) : Link
| Get a link to some action related to this entry or comment. You can iterate over Entry.link_keyseq to get keys to pass in here to produce a 'toolbar' of links.
|
get_plain_subject() : string
| For Entries that can contain HTML subjects, this returns the subjeft without HTML. Comments can't have HTML in subjects, so this is equivalent to just using $.subject. The returned 'plain' subject may still contain HTML entities, so don't do substring chops on it either.
|
get_tags_text() : string
| Returns a string containing a <div> of class 'ljtags' with the tags for the entry. If there are no tags on the entry, returns a blank string. The string is formatted according to the 'text_tags' property.
|
plain_subject() : string
| Return entry's subject as plain text, with all HTML removed.
|
print_ebox() : void
| Prints a small horizontal bar of site-specific content between entries in a journal.
|
print_link_next() : void
| Print the link to the next entry in this journal.
|
print_link_prev() : void
| Print the link to the previous entry in this journal.
|
print_linkbar() : void
| Print the link bar for this entry or comment.
|
print_metadata() : void
|
|
print_text() : void
| Print the entry text. Doesn't print anything in some contexts, such as on a month view or in a collapsed comment.
|
time_display() : string
| Show the time of this post, with most useful information for user, and with tooltip for more.
|
time_display(string datefmt, string timefmt) : string
| Same as Entry.time_display() but with custom date format support.
|
viewer_sees_ebox() : bool
| True if opaque horizontal site-specific content boxes between entries should be displayed to the user.
|