Wiki内検索
ASKS メニュー
タグ
最近更新したページ
最新コメント
EntryLite by kitchenstude
EntryLite by sunhomeengla
MenuBar1 by Wendy
EntryLite by american casino
EntryLite by american casino
EntryLite by american casino
EntryLite by american casino
EntryLite by american casino
EntryLite by american casino
EntryLite by american casino

EntryLite

元ページ
http://www.livejournal.com/doc/s2/core1.class.Entr...

戻る

EntryLite クラス - EntryLite Class

EntryLite クラス
ジャーナルエントリとコメント、両方の親クラス。
Base class for both journal entries and comments.

継承関係 - Derived Classes

子クラス
Comment?, Entry?.

メンバ - Members

int depth
エントリの視覚深度。トップレベルのジャーナルエントリは常に深度ゼロです。コメントでは、スレッドがルートをどこにしているかによって 1 以上の深度を持ちます。
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.

UserLite journal
エントリが投稿されたジャーナル
Journal the entry has been posted to

string{} metadata
(Read-only) メタデータ。キー: 'music', 'mood'
(Read-only) Post metadata. Keys: 'music', 'mood'

string permalink_url
(Read-only) リンクするためのこのエントリだけを表示させるコトが出来る URL。
(Read-only) A URL at which this specific entry can be viewed, for linking purposes.

UserLite poster
匿名のコメントなら null、それ以外はエントリを書いた人。
Author of the entry, or null if an anonymous comment

string subject
(Read-only) 件名。HTML を含むかもしれません。これの部分文字列(substring)を切り取ることはしないでください。
(Read-only) Subject. May contain HTML. Don't do substring chops on this.

string text
(Read-only) テキスト ('month' ビューやスレッド畳み表示などのいくつかのビュータイプではブランクになります。)
(Read-only) Text (will be blank on some viewtypes, like 'month' view, or with collapsed threads)

DateTime? time
ユーザによって指定された投稿時刻か、コメントの場合はグリニッジ標準時。
The user-specified time of the post, or the GMT time if it's a comment.

Image? userpic
このエントリに関連する選択された userpic。
The userpic selected to relate to this entry.


Methods


get_link(string key) : Link
説明無し

get_plain_subject() : string
エントリーは HTML を含む件名(subject)を持つことが出来るが、これは HTML を含まない件名を返す。コメントの場合は件名に HTML を含むことは出来ないので、これは $.subject を使用したのと同じ結果を返します。戻り値は HTML エンティティを持っているかもしれないので、戻り値の部分文字列(substring)を切り取ることはしないでください。
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.
2006年09月17日(日) 03:28:27 Modified by gay_shinshi




スマートフォン版で見る