mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-02 11:42:42 +01:00
25 lines
553 B
PHP
25 lines
553 B
PHP
|
<?php
|
||
|
|
||
|
final class DifferentialDiffContentRemovedHeraldField
|
||
|
extends DifferentialDiffHeraldField {
|
||
|
|
||
|
const FIELDCONST = 'differential.diff.old';
|
||
|
|
||
|
public function getHeraldFieldName() {
|
||
|
return pht('Removed file content');
|
||
|
}
|
||
|
|
||
|
public function getHeraldFieldValue($object) {
|
||
|
return $this->getAdapter()->loadRemovedContentDictionary();
|
||
|
}
|
||
|
|
||
|
protected function getHeraldFieldStandardConditions() {
|
||
|
return self::STANDARD_TEXT_MAP;
|
||
|
}
|
||
|
|
||
|
public function getHeraldFieldValueType($condition) {
|
||
|
return HeraldAdapter::VALUE_TEXT;
|
||
|
}
|
||
|
|
||
|
}
|