3 final class NuanceItemStatusTransaction
4 extends NuanceItemTransactionType
{
6 const TRANSACTIONTYPE
= 'nuance.item.status';
8 public function generateOldValue($object) {
9 return $object->getStatus();
12 public function applyInternalEffects($object, $value) {
13 $object->setStatus($value);
16 public function getTitle() {
18 '%s changed the status of this item from %s to %s.',
19 $this->renderAuthor(),
20 $this->renderOldValue(),
21 $this->renderNewValue());