Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93590908
PhabricatorNotificationAdHocFeedStory.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, Nov 30, 00:02
Size
572 B
Mime Type
text/x-php
Expires
Mon, Dec 2, 00:02 (2 d)
Engine
blob
Format
Raw Data
Handle
22671837
Attached To
rPH Phabricator
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'
);
}
}
Event Timeline
Log In to Comment