You are here

function UserpointsTransaction::getStatus in User Points 7.2

The status of this transaction.

There are helper functions available to check if the transaction has a specific status, e. g. UserpointsTransaction::isPending(). Considering using these if possible.

Return value

The status of this transaction (approved, declined, pending).

See also

UserpointsTransaction::setStatus()

UserpointsTransaction::isPending()

UserpointsTransaction::isApproved()

UserpointsTransaction::isDeclined()

6 calls to UserpointsTransaction::getStatus()
UserpointsTransaction::isApproved in ./userpoints.transaction.inc
Check if this transaction is approved.
UserpointsTransaction::isDeclined in ./userpoints.transaction.inc
Check if this transaction is declined.
UserpointsTransaction::isPending in ./userpoints.transaction.inc
Check if this transaction is pending.
UserpointsTransaction::resetOriginalStatus in ./userpoints.transaction.inc
Resets the original status to the current one.
UserpointsTransaction::setStatus in ./userpoints.transaction.inc
Set the status for a transaction.

... See full list

File

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

Class

UserpointsTransaction
A Userpoints transaction.

Code

function getStatus() {
  return $this->status;
}