}
}
+ public static function getWithUID($uid, $callback = false)
+ {
+ return User::getWithValues(null, array('user_id' => $uid), $callback);
+ }
+
// Same as above, but using the silent callback as default.
public static function getSilent($login)
{
return User::getWithValues($login, $values, array('User', '_silent_user_callback'));
}
+ public static function getSilentWithUID($uid)
+ {
+ return User::getWithValues($uid, array('User', '_silent_user_callback'));
+ }
+
/**
* Retrieves User objects corresponding to the @p logins, and eventually
* extracts and returns the @p property. If @p strict mode is disabled, it