You are here

function UserpointsTransaction::isPending in User Points 7.2

Check if this transaction is pending.

See also

UserpointsTransaction::getStatus

2 calls to UserpointsTransaction::isPending()
UserpointsTransaction::getActions in ./userpoints.transaction.inc
Returns a list of operations as links.
UserpointsTransaction::getMessage in ./userpoints.transaction.inc
A message that can be displayed to the current user.

File

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

Class

UserpointsTransaction
A Userpoints transaction.

Code

function isPending() {
  return $this
    ->getStatus() == UserpointsTransaction::STATUS_PENDING;
}