Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91767979
PhabricatorUserNotifyTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Nov 14, 06:45
Size
683 B
Mime Type
text/x-php
Expires
Sat, Nov 16, 06:45 (2 d)
Engine
blob
Format
Raw Data
Handle
22321532
Attached To
rPH Phabricator
PhabricatorUserNotifyTransaction.php
View Options
<?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
Log In to Comment