»

LJ::get_friend_group

LJ::get_friend_group — Returns friendgroup row(s) for a given user.

Use

LJ::get_friend_group(uuserid, opt);

Arguments

  • uuserid. a userid or u object

  • opt. a hashref with keys: 'bit' => bit number of group to return 'name' => name of group to return

Source:

cgi-bin/ljlib.pl

Returns:

hashref; if bit/name are specified, returns hashref with keys being friendgroup rows, or undef if the group wasn't found. otherwise, returns hashref of all group rows with keys being group bit numbers and values being row col => val hashrefs