Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98302286
PhabricatorNotificationTestFeedStory.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
Sat, Jan 11, 22:04
Size
571 B
Mime Type
text/x-php
Expires
Mon, Jan 13, 22:04 (2 d)
Engine
blob
Format
Raw Data
Handle
23551115
Attached To
rPH Phabricator
PhabricatorNotificationTestFeedStory.php
View Options
<?php
final
class
PhabricatorNotificationTestFeedStory
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'
);
}
}
Event Timeline
Log In to Comment