Page MenuHomec4science

DiffusionCommitDiffContentAddedHeraldField.php
No OneTemporary

File Metadata

Created
Wed, Jan 8, 02:59

DiffusionCommitDiffContentAddedHeraldField.php

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

Event Timeline