[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class ReleephAuthorFieldSpecification 4 extends ReleephFieldSpecification { 5 6 public function getFieldKey() { 7 return 'author'; 8 } 9 10 public function getName() { 11 return 'Author'; 12 } 13 14 public function getRequiredHandlePHIDsForPropertyView() { 15 $pull = $this->getReleephRequest(); 16 $commit = $pull->loadPhabricatorRepositoryCommit(); 17 if (!$commit) { 18 return array(); 19 } 20 21 $author_phid = $commit->getAuthorPHID(); 22 if (!$author_phid) { 23 return array(); 24 } 25 26 return array($author_phid); 27 } 28 29 public function renderPropertyViewValue(array $handles) { 30 return $this->renderHandleList($handles); 31 } 32 33 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |