[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

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

   1  <?php
   2  
   3  final class ReleephRevisionFieldSpecification
   4    extends ReleephFieldSpecification {
   5  
   6    public function getFieldKey() {
   7      return 'revision';
   8    }
   9  
  10    public function getName() {
  11      return 'Revision';
  12    }
  13  
  14    public function getRequiredHandlePHIDsForPropertyView() {
  15      $requested_object = $this->getObject()->getRequestedObjectPHID();
  16      if (!($requested_object instanceof DifferentialRevision)) {
  17        return array();
  18      }
  19  
  20      return array(
  21        $requested_object->getPHID(),
  22      );
  23    }
  24  
  25    public function renderPropertyViewValue(array $handles) {
  26      return $this->renderHandleList($handles);
  27    }
  28  
  29  }


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