Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99194324
NuanceItemOwnerTransaction.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, Jan 22, 05:57
Size
612 B
Mime Type
text/x-php
Expires
Fri, Jan 24, 05:57 (2 d)
Engine
blob
Format
Raw Data
Handle
23732492
Attached To
rPH Phabricator
NuanceItemOwnerTransaction.php
View Options
<?php
final
class
NuanceItemOwnerTransaction
extends
NuanceItemTransactionType
{
const
TRANSACTIONTYPE
=
'nuance.item.owner'
;
public
function
generateOldValue
(
$object
)
{
return
$object
->
getOwnerPHID
();
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$object
->
setOwnerPHID
(
$value
);
}
public
function
getTitle
()
{
// TODO: Assign, unassign strings probably need variants.
return
pht
(
'%s reassigned this item from %s to %s.'
,
$this
->
renderAuthor
(),
$this
->
renderHandle
(
$this
->
getOldValue
()),
$this
->
renderHandle
(
$this
->
getNewValue
()));
}
}
Event Timeline
Log In to Comment