3 final class NuanceItemOwnerTransaction
4 extends NuanceItemTransactionType
{
6 const TRANSACTIONTYPE
= 'nuance.item.owner';
8 public function generateOldValue($object) {
9 return $object->getOwnerPHID();
12 public function applyInternalEffects($object, $value) {
13 $object->setOwnerPHID($value);
16 public function getTitle() {
18 // TODO: Assign, unassign strings probably need variants.
21 '%s reassigned this item from %s to %s.',
22 $this->renderAuthor(),
23 $this->renderHandle($this->getOldValue()),
24 $this->renderHandle($this->getNewValue()));