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