3 final class PhortuneMerchantPictureTransaction
4 extends PhortuneMerchantTransactionType
{
6 const TRANSACTIONTYPE
= 'merchant:picture';
8 public function generateOldValue($object) {
9 return $object->getProfileImagePHID();
12 public function applyInternalEffects($object, $value) {
13 $object->setProfileImagePHID($value);
16 public function getTitle() {
18 '%s updated the picture.',
19 $this->renderAuthor());
22 public function getTitleForFeed() {
24 '%s updated the picture for merchant %s.',
25 $this->renderAuthor(),
26 $this->renderObject());
29 public function getIcon() {
30 return 'fa-camera-retro';