Page MenuHomePhorge

DifferentialApplyPatchField.php
No OneTemporary

Size
679 B
Referenced Files
None
Subscribers
None

DifferentialApplyPatchField.php

<?php
final class DifferentialApplyPatchField
extends DifferentialCustomField {
public function getFieldKey() {
return 'differential:apply-patch';
}
public function getFieldName() {
return pht('Apply Patch');
}
public function getFieldDescription() {
return pht('Provides instructions for applying a local patch.');
}
public function shouldAppearInPropertyView() {
return true;
}
public function renderPropertyViewLabel() {
return $this->getFieldName();
}
public function renderPropertyViewValue(array $handles) {
$mono = $this->getObject()->getMonogram();
return phutil_tag('tt', array(), "arc patch {$mono}");
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, May 4, 8:46 PM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
67800
Default Alt Text
DifferentialApplyPatchField.php (679 B)

Event Timeline