Page MenuHomec4science

DiffusionPreCommitContentAffectedFilesHeraldField.php
No OneTemporary

File Metadata

Created
Mon, Jul 29, 15:26

DiffusionPreCommitContentAffectedFilesHeraldField.php

<?php
final class DiffusionPreCommitContentAffectedFilesHeraldField
extends DiffusionPreCommitContentHeraldField {
const FIELDCONST = 'diffusion.pre.commit.affected';
public function getHeraldFieldName() {
return pht('Affected files');
}
public function getFieldGroupKey() {
return DiffusionChangeHeraldFieldGroup::FIELDGROUPKEY;
}
public function getHeraldFieldValue($object) {
return $this->getAdapter()->getDiffContent('name');
}
protected function getHeraldFieldStandardType() {
return self::STANDARD_TEXT_LIST;
}
}

Event Timeline