mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 19:32:40 +01:00
25 lines
508 B
PHP
25 lines
508 B
PHP
|
<?php
|
||
|
|
||
|
final class ManiphestTaskAssigneeHeraldField
|
||
|
extends ManiphestTaskHeraldField {
|
||
|
|
||
|
const FIELDCONST = 'maniphest.task.assignee';
|
||
|
|
||
|
public function getHeraldFieldName() {
|
||
|
return pht('Assignee');
|
||
|
}
|
||
|
|
||
|
public function getHeraldFieldValue($object) {
|
||
|
return $object->getOwnerPHID();
|
||
|
}
|
||
|
|
||
|
protected function getHeraldFieldStandardConditions() {
|
||
|
return self::STANDARD_PHID_NULLABLE;
|
||
|
}
|
||
|
|
||
|
public function getHeraldFieldValueType($condition) {
|
||
|
return HeraldAdapter::VALUE_USER;
|
||
|
}
|
||
|
|
||
|
}
|