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