Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1158383
PhabricatorPasteTitleTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
744 B
Referenced Files
None
Subscribers
None
PhabricatorPasteTitleTransaction.php
View Options
<?php
final
class
PhabricatorPasteTitleTransaction
extends
PhabricatorPasteTransactionType
{
const
TRANSACTIONTYPE
=
'paste.title'
;
public
function
generateOldValue
(
$object
)
{
return
$object
->
getTitle
();
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$object
->
setTitle
(
$value
);
}
public
function
getTitle
()
{
return
pht
(
'%s updated the paste
\'
s title from "%s" to "%s".'
,
$this
->
renderAuthor
(),
$this
->
getOldValue
(),
$this
->
getNewValue
());
}
public
function
getTitleForFeed
()
{
return
pht
(
'%s updated the title for %s from "%s" to "%s".'
,
$this
->
renderAuthor
(),
$this
->
renderObject
(),
$this
->
getOldValue
(),
$this
->
getNewValue
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Jul 1, 11:42 PM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
288400
Default Alt Text
PhabricatorPasteTitleTransaction.php (744 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment