Page MenuHomePhorge

PhabricatorNotificationAdHocFeedStory.php
No OneTemporary

Size
572 B
Referenced Files
None
Subscribers
None

PhabricatorNotificationAdHocFeedStory.php

<?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

Mime Type
text/x-php
Expires
Tue, Sep 16, 1:14 PM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
389443
Default Alt Text
PhabricatorNotificationAdHocFeedStory.php (572 B)

Event Timeline