You are here

function UserpointsTransaction::isApproved in User Points 7.2

Check if this transaction is approved.

See also

UserpointsTransaction::getStatus

File

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

Class

UserpointsTransaction
A Userpoints transaction.

Code

function isApproved() {
  return $this
    ->getStatus() == UserpointsTransaction::STATUS_APPROVED;
}