Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F448199
PhamePostHeaderImageTransaction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
702 B
Referenced Files
None
Subscribers
None
PhamePostHeaderImageTransaction.php
View Options
<?php
final
class
PhamePostHeaderImageTransaction
extends
PhamePostTransactionType
{
const
TRANSACTIONTYPE
=
'phame.post.headerimage'
;
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 post.'
,
$this
->
renderAuthor
());
}
public
function
getTitleForFeed
()
{
return
pht
(
'%s changed the header image for post %s.'
,
$this
->
renderAuthor
(),
$this
->
renderObject
());
}
public
function
getIcon
()
{
return
'fa-camera'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 4, 5:52 PM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
66281
Default Alt Text
PhamePostHeaderImageTransaction.php (702 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment