[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/differential/controller/ -> DifferentialInlineCommentPreviewController.php (source)

   1  <?php
   2  
   3  final class DifferentialInlineCommentPreviewController
   4  extends PhabricatorInlineCommentPreviewController {
   5  
   6    private $revisionID;
   7  
   8    public function willProcessRequest(array $data) {
   9      $this->revisionID = $data['id'];
  10    }
  11  
  12    protected function loadInlineComments() {
  13      $user = $this->getRequest()->getUser();
  14  
  15      $inlines = id(new DifferentialInlineCommentQuery())
  16        ->withDraftComments($user->getPHID(), $this->revisionID)
  17        ->execute();
  18  
  19      return $inlines;
  20    }
  21  
  22  }


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