Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93246533
ConpherenceThreadPictureTransaction.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, Nov 27, 08:08
Size
619 B
Mime Type
text/x-php
Expires
Fri, Nov 29, 08:08 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22597186
Attached To
rPH Phabricator
ConpherenceThreadPictureTransaction.php
View Options
<?php
final
class
ConpherenceThreadPictureTransaction
extends
ConpherenceThreadTransactionType
{
const
TRANSACTIONTYPE
=
'picture'
;
public
function
generateOldValue
(
$object
)
{
return
$object
->
getProfileImagePHID
();
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$object
->
setProfileImagePHID
(
$value
);
}
public
function
getTitle
()
{
return
pht
(
'%s updated the room image.'
,
$this
->
renderAuthor
());
}
public
function
getTitleForFeed
()
{
return
pht
(
'%s updated the room image for %s.'
,
$this
->
renderAuthor
(),
$this
->
renderObject
());
}
}
Event Timeline
Log In to Comment