Page MenuHomec4science

DiffusionCommitDiffContentAddedHeraldField.php
No OneTemporary

File Metadata

Created
Tue, Nov 26, 17:33

DiffusionCommitDiffContentAddedHeraldField.php

<?php
final class DiffusionCommitDiffContentAddedHeraldField
extends DiffusionCommitHeraldField {
const FIELDCONST = 'diffusion.commit.diff.new';
public function getHeraldFieldName() {
return pht('Diff content added');
}
public function getFieldGroupKey() {
return DiffusionChangeHeraldFieldGroup::FIELDGROUPKEY;
}
public function getHeraldFieldValue($object) {
return $this->getAdapter()->loadDiffContent('+');
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_TEXT_MAP;
}
}

Event Timeline