3 final class NuanceItemPropertyTransaction
4 extends NuanceItemTransactionType
{
6 const TRANSACTIONTYPE
= 'nuance.item.property';
8 public function generateOldValue($object) {
9 $property_key = NuanceItemTransaction
::PROPERTY_KEY
;
10 $key = $this->getMetadataValue($property_key);
11 return $object->getItemProperty($key);
14 public function applyInternalEffects($object, $value) {
15 $property_key = NuanceItemTransaction
::PROPERTY_KEY
;
16 $key = $this->getMetadataValue($property_key);
18 $object->setItemProperty($key, $value);
21 public function getTitle() {
23 '%s set a property on this item.',
24 $this->renderAuthor());