Page MenuHomec4science

DiffusionPreCommitRefNameHeraldField.php
No OneTemporary

File Metadata

Created
Fri, Jan 24, 19:04

DiffusionPreCommitRefNameHeraldField.php

<?php
final class DiffusionPreCommitRefNameHeraldField
extends DiffusionPreCommitRefHeraldField {
const FIELDCONST = 'diffusion.pre.ref.name';
public function getHeraldFieldName() {
return pht('Ref name');
}
public function getHeraldFieldValue($object) {
return $object->getRefName();
}
protected function getHeraldFieldStandardConditions() {
return HeraldField::STANDARD_TEXT;
}
public function getHeraldFieldValueType($condition) {
return HeraldAdapter::VALUE_TEXT;
}
}

Event Timeline