[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/releeph/field/specification/ -> ReleephBranchCommitFieldSpecification.php (source)

   1  <?php
   2  
   3  final class ReleephBranchCommitFieldSpecification
   4    extends ReleephFieldSpecification {
   5  
   6    public function getFieldKey() {
   7      return 'commit';
   8    }
   9  
  10    public function getName() {
  11      return 'Commit';
  12    }
  13  
  14    public function getRequiredHandlePHIDsForPropertyView() {
  15      $pull = $this->getReleephRequest();
  16  
  17      if ($pull->getCommitPHID()) {
  18        return array($pull->getCommitPHID());
  19      }
  20  
  21      return array();
  22    }
  23  
  24    public function renderPropertyViewValue(array $handles) {
  25      return $this->renderHandleList($handles);
  26    }
  27  
  28  }


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