Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F429666
PhabricatorNotificationAdHocFeedStory.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
572 B
Referenced Files
None
Subscribers
None
PhabricatorNotificationAdHocFeedStory.php
View Options
<?php
final
class
PhabricatorNotificationAdHocFeedStory
extends
PhabricatorFeedStory
{
public
function
getPrimaryObjectPHID
()
{
return
$this
->
getAuthorPHID
();
}
public
function
renderView
()
{
$data
=
$this
->
getStoryData
();
$author_phid
=
$data
->
getAuthorPHID
();
$view
=
$this
->
newStoryView
();
$view
->
setTitle
(
$data
->
getValue
(
'title'
));
$view
->
setImage
(
$this
->
getHandle
(
$author_phid
)->
getImageURI
());
return
$view
;
}
public
function
renderText
()
{
$data
=
$this
->
getStoryData
();
return
$data
->
getValue
(
'title'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 3, 8:52 AM (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
59820
Default Alt Text
PhabricatorNotificationAdHocFeedStory.php (572 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment