Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F550117
NuanceItemOwnerTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
612 B
Referenced Files
None
Subscribers
None
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
()));
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 2:34 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
122321
Default Alt Text
NuanceItemOwnerTransaction.php (612 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment