»

LJ::get_talktext2

LJ::get_talktext2 — Retrieves comment text. Tries slave servers first, then master.

Use

LJ::get_talktext2(u, opts, jtalkids);

Arguments

  • u. A hashref of a row from the user table, sometimes called a "user object". Although only initially a row from the user table, gets a lot of tacked onto it from various other LJ API functions.

  • opts. A hashref of options. 'onlysubjects' will only retrieve subjects.

  • jtalkids. A list of talkids to get text for.

Info

Efficiently retreives batches of comment text. Will try alternate servers first. See also LJ::get_logtext2.

Source:

cgi-bin/ljlib.pl

Returns:

Hashref with the talkids as keys, values being [ $subject, $event ].