3 final class PhameBlogProfileImageTransaction
4 extends PhameBlogTransactionType
{
6 // TODO: Migrate these transactions ha ha .... ha
7 const TRANSACTIONTYPE
= 'phame.blog.header.image';
9 public function generateOldValue($object) {
10 return $object->getProfileImagePHID();
13 public function applyInternalEffects($object, $value) {
14 $object->setProfileImagePHID($value);
17 public function getTitle() {
19 '%s changed the profile image for this blog.',
20 $this->renderAuthor());
23 public function getTitleForFeed() {
25 '%s changed the profile image for blog %s.',
26 $this->renderAuthor(),
27 $this->renderObject());
30 public function getIcon() {
31 return 'fa-file-image-o';