Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2893520
PhabricatorOwnersPackageDescriptionTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
838 B
Referenced Files
None
Subscribers
None
PhabricatorOwnersPackageDescriptionTransaction.php
View Options
<?php
final
class
PhabricatorOwnersPackageDescriptionTransaction
extends
PhabricatorOwnersPackageTransactionType
{
const
TRANSACTIONTYPE
=
'owners.description'
;
public
function
generateOldValue
(
$object
)
{
return
$object
->
getDescription
(
)
;
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$object
->
setDescription
(
$value
)
;
}
public
function
getTitle
(
)
{
return
pht
(
'%s updated the description for this package.'
,
$this
->
renderAuthor
(
)
)
;
}
public
function
getMailDiffSectionHeader
(
)
{
return
pht
(
'CHANGES TO PACKAGE DESCRIPTION'
)
;
}
public
function
newChangeDetailView
(
)
{
return
id
(
new
PhabricatorApplicationTransactionTextDiffDetailView
(
)
)
->
setViewer
(
$this
->
getViewer
(
)
)
->
setOldText
(
$this
->
getOldValue
(
)
)
->
setNewText
(
$this
->
getNewValue
(
)
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 18:33 (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127466
Default Alt Text
PhabricatorOwnersPackageDescriptionTransaction.php (838 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment