Page MenuHomec4science

DiffusionCommitDiffContentAddedHeraldField.php
No OneTemporary

File Metadata

Created
Sun, Nov 10, 22:43

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