[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class ReleephDiffMessageFieldSpecification 4 extends ReleephFieldSpecification { 5 6 public function getFieldKey() { 7 return 'commit:message'; 8 } 9 10 public function getName() { 11 return 'Message'; 12 } 13 14 public function getStyleForPropertyView() { 15 return 'block'; 16 } 17 18 public function renderPropertyViewValue(array $handles) { 19 return phutil_tag( 20 'div', 21 array( 22 'class' => 'phabricator-remarkup', 23 ), 24 $this->getMarkupEngineOutput()); 25 } 26 27 public function shouldMarkup() { 28 return true; 29 } 30 31 public function getMarkupText($field) { 32 $commit_data = $this 33 ->getReleephRequest() 34 ->loadPhabricatorRepositoryCommitData(); 35 if ($commit_data) { 36 return $commit_data->getCommitMessage(); 37 } else { 38 return ''; 39 } 40 } 41 42 }
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 |