Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F82319639
NuanceItemStatusTransaction.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, Sep 10, 18:17
Size
520 B
Mime Type
text/x-php
Expires
Thu, Sep 12, 18:17 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20680259
Attached To
rPH Phabricator
NuanceItemStatusTransaction.php
View Options
<?php
final
class
NuanceItemStatusTransaction
extends
NuanceItemTransactionType
{
const
TRANSACTIONTYPE
=
'nuance.item.status'
;
public
function
generateOldValue
(
$object
)
{
return
$object
->
getStatus
();
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$object
->
setStatus
(
$value
);
}
public
function
getTitle
()
{
return
pht
(
'%s changed the status of this item from %s to %s.'
,
$this
->
renderAuthor
(),
$this
->
renderOldValue
(),
$this
->
renderNewValue
());
}
}
Event Timeline
Log In to Comment