Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F959753
PhameBlogProfileImageTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
766 B
Referenced Files
None
Subscribers
None
PhameBlogProfileImageTransaction.php
View Options
<?php
final
class
PhameBlogProfileImageTransaction
extends
PhameBlogTransactionType
{
// TODO: Migrate these transactions ha ha .... ha
const
TRANSACTIONTYPE
=
'phame.blog.header.image'
;
public
function
generateOldValue
(
$object
)
{
return
$object
->
getProfileImagePHID
();
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$object
->
setProfileImagePHID
(
$value
);
}
public
function
getTitle
()
{
return
pht
(
'%s changed the profile image for this blog.'
,
$this
->
renderAuthor
());
}
public
function
getTitleForFeed
()
{
return
pht
(
'%s changed the profile image for blog %s.'
,
$this
->
renderAuthor
(),
$this
->
renderObject
());
}
public
function
getIcon
()
{
return
'fa-file-image-o'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Jun 17, 10:28 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
228548
Default Alt Text
PhameBlogProfileImageTransaction.php (766 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment