1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 03:50:54 +01:00
phorge-phorge/src/applications/maniphest/herald/ManiphestTaskAuthorHeraldField.php

25 lines
488 B
PHP
Raw Normal View History

<?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 getHeraldFieldStandardType() {
return self::STANDARD_PHID;
}
public function getHeraldFieldValueType($condition) {
return HeraldAdapter::VALUE_USER;
}
}