Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1022697
NuanceItemPropertyTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
682 B
Referenced Files
None
Subscribers
None
NuanceItemPropertyTransaction.php
View Options
<?php
final
class
NuanceItemPropertyTransaction
extends
NuanceItemTransactionType
{
const
TRANSACTIONTYPE
=
'nuance.item.property'
;
public
function
generateOldValue
(
$object
)
{
$property_key
=
NuanceItemTransaction
::
PROPERTY_KEY
;
$key
=
$this
->
getMetadataValue
(
$property_key
);
return
$object
->
getItemProperty
(
$key
);
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$property_key
=
NuanceItemTransaction
::
PROPERTY_KEY
;
$key
=
$this
->
getMetadataValue
(
$property_key
);
$object
->
setItemProperty
(
$key
,
$value
);
}
public
function
getTitle
()
{
return
pht
(
'%s set a property on this item.'
,
$this
->
renderAuthor
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Jun 20, 3:58 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
234193
Default Alt Text
NuanceItemPropertyTransaction.php (682 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment