[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/diffusion/controller/ -> DiffusionInlineCommentPreviewController.php (source)

   1  <?php
   2  
   3  final class DiffusionInlineCommentPreviewController
   4    extends PhabricatorInlineCommentPreviewController {
   5  
   6    private $commitPHID;
   7  
   8    public function willProcessRequest(array $data) {
   9      $this->commitPHID = $data['phid'];
  10    }
  11  
  12    protected function loadInlineComments() {
  13      $user = $this->getRequest()->getUser();
  14  
  15      $inlines = PhabricatorAuditInlineComment::loadDraftComments(
  16        $user,
  17        $this->commitPHID);
  18  
  19      return $inlines;
  20    }
  21  }


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