Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F104578392
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
Mon, Mar 10, 15:14
Size
571 B
Mime Type
text/x-php
Expires
Wed, Mar 12, 15:14 (2 d)
Engine
blob
Format
Raw Data
Handle
24809623
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