Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94208088
PhabricatorOwnersPackageDescriptionTransaction.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
Wed, Dec 4, 18:11
Size
838 B
Mime Type
text/x-php
Expires
Fri, Dec 6, 18:11 (1 d, 16 h)
Engine
blob
Format
Raw Data
Handle
22758142
Attached To
rPH Phabricator
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
());
}
}
Event Timeline
Log In to Comment