function UserpointsTransaction::setApproverUid in User Points 7.2
Set the user who approved this transaction.
Parameters
$uid: The user id of the approver.
Return value
File
- ./
userpoints.transaction.inc, line 340 - Contains the UserpointsTransaction and related classes.
Class
- UserpointsTransaction
- A Userpoints transaction.
Code
function setApproverUid($uid) {
$this
->checkChange();
$this->approver_uid = (int) $uid;
return $this;
}