You are here

function UserpointsTransaction::setReference in User Points 7.2

Add a free reference text to this transaction.

Parameters

$reference: A string that serves as an internal reference for this transaction.

Return value

UserpointsTransaction

File

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

Class

UserpointsTransaction
A Userpoints transaction.

Code

function setReference($reference) {
  $this
    ->checkChange();
  $this->reference = $reference;
  return $this;
}