Page MenuHomec4science

DiffusionCommitDiffContentHeraldField.php
No OneTemporary

File Metadata

Created
Sat, Jan 4, 19:50

DiffusionCommitDiffContentHeraldField.php

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

Event Timeline