Page MenuHomec4science

PhabricatorUserNotifyTransaction.php
No OneTemporary

File Metadata

Created
Thu, Nov 14, 06:45

PhabricatorUserNotifyTransaction.php

<?php
final class PhabricatorUserNotifyTransaction
extends PhabricatorUserTransactionType {
const TRANSACTIONTYPE = 'notify';
public function generateOldValue($object) {
return null;
}
public function generateNewValue($object, $value) {
return $value;
}
public function getTitle() {
return pht(
'%s sent this user a test notification.',
$this->renderAuthor());
}
public function getTitleForFeed() {
return $this->getNewValue();
}
public function shouldHideForNotifications() {
return false;
}
public function shouldHideForFeed() {
return true;
}
public function shouldHideForMail() {
return true;
}
}

Event Timeline