function UserpointsTransaction::setUid in User Points 7.2
The user id of the user to which this transaction belongs.
Parameters
$uid: The user id.
Return value
File
- ./
userpoints.transaction.inc, line 326 - Contains the UserpointsTransaction and related classes.
Class
- UserpointsTransaction
- A Userpoints transaction.
Code
function setUid($uid) {
$this
->checkChange();
$this->uid = $uid;
return $this;
}