Differential D19334 Diff 46273 src/applications/almanac/xaction/AlmanacServiceSetPropertyTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/almanac/xaction/AlmanacServiceSetPropertyTransaction.php
- This file was added.
| <?php | |||||
| final class AlmanacServiceSetPropertyTransaction | |||||
| extends AlmanacServiceTransactionType { | |||||
| const TRANSACTIONTYPE = 'almanac:property:update'; | |||||
| public function generateOldValue($object) { | |||||
| return $this->getAlmanacPropertyOldValue($object); | |||||
| } | |||||
| public function applyExternalEffects($object, $value) { | |||||
| return $this->setAlmanacProperty($object, $value); | |||||
| } | |||||
| public function getTitle() { | |||||
| return $this->getAlmanacSetPropertyTitle(); | |||||
| } | |||||
| public function validateTransactions($object, array $xactions) { | |||||
| return $this->validateAlmanacSetPropertyTransactions($object, $xactions); | |||||
| } | |||||
| } | |||||