Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F124146257
PhortuneMerchantPictureTransaction.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
Thu, Jul 31, 16:32
Size
694 B
Mime Type
text/x-php
Expires
Sat, Aug 2, 16:32 (2 d)
Engine
blob
Format
Raw Data
Handle
27809137
Attached To
rPH Phabricator
PhortuneMerchantPictureTransaction.php
View Options
<?php
final
class
PhortuneMerchantPictureTransaction
extends
PhortuneMerchantTransactionType
{
const
TRANSACTIONTYPE
=
'merchant:picture'
;
public
function
generateOldValue
(
$object
)
{
return
$object
->
getProfileImagePHID
();
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$object
->
setProfileImagePHID
(
$value
);
}
public
function
getTitle
()
{
return
pht
(
'%s updated the picture.'
,
$this
->
renderAuthor
());
}
public
function
getTitleForFeed
()
{
return
pht
(
'%s updated the picture for merchant %s.'
,
$this
->
renderAuthor
(),
$this
->
renderObject
());
}
public
function
getIcon
()
{
return
'fa-camera-retro'
;
}
}
Event Timeline
Log In to Comment