Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102221893
PholioMockInlineTransaction.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
Tue, Feb 18, 10:31
Size
620 B
Mime Type
text/x-php
Expires
Thu, Feb 20, 10:31 (2 d)
Engine
blob
Format
Raw Data
Handle
24277655
Attached To
rPH Phabricator
PholioMockInlineTransaction.php
View Options
<?php
final
class
PholioMockInlineTransaction
extends
PholioMockTransactionType
{
const
TRANSACTIONTYPE
=
'inline'
;
public
function
generateOldValue
(
$object
)
{
return
null
;
}
public
function
getTitle
()
{
return
pht
(
'%s added inline comment(s).'
,
$this
->
renderAuthor
());
}
public
function
getTitleForFeed
()
{
return
pht
(
'%s added an inline comment to %s.'
,
$this
->
renderAuthor
(),
$this
->
renderObject
());
}
public
function
getIcon
()
{
return
'fa-comment'
;
}
public
function
getTransactionHasEffect
(
$object
,
$old
,
$new
)
{
return
true
;
}
}
Event Timeline
Log In to Comment