[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/notification/feed/ -> PhabricatorNotificationAdHocFeedStory.php (source)

   1  <?php
   2  
   3  final class PhabricatorNotificationAdHocFeedStory extends PhabricatorFeedStory {
   4  
   5    public function getPrimaryObjectPHID() {
   6      return $this->getAuthorPHID();
   7    }
   8  
   9    public function renderView() {
  10      $data = $this->getStoryData();
  11  
  12      $author_phid = $data->getAuthorPHID();
  13  
  14      $view = $this->newStoryView();
  15  
  16      $view->setTitle($data->getValue('title'));
  17      $view->setImage($this->getHandle($author_phid)->getImageURI());
  18  
  19      return $view;
  20    }
  21  
  22    public function renderText() {
  23      $data = $this->getStoryData();
  24      return $data->getValue('title');
  25    }
  26  
  27  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1