Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99298565
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, Jan 23, 05:31
Size
694 B
Mime Type
text/x-php
Expires
Sat, Jan 25, 05:31 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23724915
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