You are here

function UserpointsTransaction::getApprover in User Points 7.2

The loaded user object of the user who approved this transaction.

Return value

User object.

See also

UserpointsTransaction::setApproverUid()

UserpointsTransaction::getApproverUid()

File

./userpoints.transaction.inc, line 609
Contains the UserpointsTransaction and related classes.

Class

UserpointsTransaction
A Userpoints transaction.

Code

function getApprover() {
  return user_load($this->approver_uid);
}