»

LJ::get_friend_items

LJ::get_friend_items — Return friend items for a given user, filter, and period.

Use

LJ::get_friend_items(dbarg, opts);

Arguments

  • dbarg. Deprecated; a master database handle ($dbh) or a master/slave set of database handles ($dbs).

  • opts. Hashref of options: - userid - remoteid - itemshow - skip - filter (opt) defaults to all - friends (opt) friends rows loaded via LJ::get_friends() - friends_u (opt) u objects of all friends loaded - idsbycluster (opt) hashref to set clusterid key to [ [ journalid, itemid ]+ ] - dateformat: either "S2" for S2 code, or anything else for S1 - common_filter: set true if this is the default view - friendsoffriends: load friends of friends, not just friends - u: hashref of journal loading friends of - showtypes: /[PYC]/

Source:

cgi-bin/ljlib.pl

Returns:

Array of item hashrefs containing the same elements