You are here

function UserpointsTransaction::setTid in User Points 7.2

Set the category (term tid) of this transaction.

Parameters

$tid: The tid, a term id.

Return value

UserpointsTransaction

File

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

Class

UserpointsTransaction
A Userpoints transaction.

Code

function setTid($tid) {
  $this
    ->checkChange();
  $this->tid = $tid;
  return $this;
}