[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class DifferentialAuthorField 4 extends DifferentialCustomField { 5 6 public function getFieldKey() { 7 return 'differential:author'; 8 } 9 10 public function getFieldName() { 11 return pht('Author'); 12 } 13 14 public function getFieldDescription() { 15 return pht('Stores the revision author.'); 16 } 17 18 public function canDisableField() { 19 return false; 20 } 21 22 public function shouldAppearInPropertyView() { 23 return true; 24 } 25 26 public function renderPropertyViewLabel() { 27 return $this->getFieldName(); 28 } 29 30 public function getRequiredHandlePHIDsForPropertyView() { 31 return array($this->getObject()->getAuthorPHID()); 32 } 33 34 public function renderPropertyViewValue(array $handles) { 35 return $handles[$this->getObject()->getAuthorPHID()]->renderLink(); 36 } 37 38 }
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 |