mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-16 00:38:38 +01:00
25 lines
494 B
PHP
25 lines
494 B
PHP
|
<?php
|
||
|
|
||
|
final class ManiphestTaskAuthorHeraldField
|
||
|
extends ManiphestTaskHeraldField {
|
||
|
|
||
|
const FIELDCONST = 'maniphest.task.author';
|
||
|
|
||
|
public function getHeraldFieldName() {
|
||
|
return pht('Author');
|
||
|
}
|
||
|
|
||
|
public function getHeraldFieldValue($object) {
|
||
|
return $object->getAuthorPHID();
|
||
|
}
|
||
|
|
||
|
protected function getHeraldFieldStandardConditions() {
|
||
|
return self::STANDARD_PHID;
|
||
|
}
|
||
|
|
||
|
public function getHeraldFieldValueType($condition) {
|
||
|
return HeraldAdapter::VALUE_USER;
|
||
|
}
|
||
|
|
||
|
}
|