Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F19081928
PhameBlogHeaderImageTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
756 B
Referenced Files
None
Subscribers
None
PhameBlogHeaderImageTransaction.php
View Options
<?php
final
class
PhameBlogHeaderImageTransaction
extends
PhameBlogTransactionType
{
// TODO: Migrate these transactions ha ha .... ha
const
TRANSACTIONTYPE
=
'phame.blog.profile.image'
;
public
function
generateOldValue
(
$object
)
{
return
$object
->
getHeaderImagePHID
();
}
public
function
applyInternalEffects
(
$object
,
$value
)
{
$object
->
setHeaderImagePHID
(
$value
);
}
public
function
getTitle
()
{
return
pht
(
'%s changed the header image for this blog.'
,
$this
->
renderAuthor
());
}
public
function
getTitleForFeed
()
{
return
pht
(
'%s changed the header image for blog %s.'
,
$this
->
renderAuthor
(),
$this
->
renderObject
());
}
public
function
getIcon
()
{
return
'fa-camera'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Dec 4, 8:45 AM (1 d, 17 h)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8329343
Default Alt Text
PhameBlogHeaderImageTransaction.php (756 B)
Attached To
Mode
rP Phabricator
Attached
Detach File
Event Timeline
Log In to Comment