»

LJ::load_user_props

LJ::load_user_props — Given a user hashref, loads the values of the given named properties into that user hashref.

Use

LJ::load_user_props(dbarg, u, opts, propname);

Arguments

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

  • 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. hashref of opts. set key 'cache' to use memcache.

  • propname. the name of a property from the userproplist table.

Source:

cgi-bin/ljlib.pl