Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102510113
NuanceItemCommandTransaction.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
Fri, Feb 21, 11:38
Size
442 B
Mime Type
text/x-php
Expires
Sun, Feb 23, 11:38 (1 d, 1 h)
Engine
blob
Format
Raw Data
Handle
24338845
Attached To
rPH Phabricator
NuanceItemCommandTransaction.php
View Options
<?php
final
class
NuanceItemCommandTransaction
extends
NuanceItemTransactionType
{
const
TRANSACTIONTYPE
=
'nuance.item.command'
;
public
function
generateOldValue
(
$object
)
{
return
null
;
}
public
function
getTitle
()
{
$spec
=
$this
->
getNewValue
();
$command_key
=
idx
(
$spec
,
'command'
,
'???'
);
return
pht
(
'%s applied a "%s" command to this item.'
,
$this
->
renderAuthor
(),
$command_key
);
}
}
Event Timeline
Log In to Comment