mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-16 11:52:40 +01:00
25 lines
486 B
PHP
25 lines
486 B
PHP
|
<?php
|
||
|
|
||
|
final class ManiphestTaskTitleHeraldField
|
||
|
extends ManiphestTaskHeraldField {
|
||
|
|
||
|
const FIELDCONST = 'maniphest.task.title';
|
||
|
|
||
|
public function getHeraldFieldName() {
|
||
|
return pht('Title');
|
||
|
}
|
||
|
|
||
|
public function getHeraldFieldValue($object) {
|
||
|
return $object->getTitle();
|
||
|
}
|
||
|
|
||
|
protected function getHeraldFieldStandardConditions() {
|
||
|
return self::STANDARD_TEXT;
|
||
|
}
|
||
|
|
||
|
public function getHeraldFieldValueType($condition) {
|
||
|
return HeraldAdapter::VALUE_TEXT;
|
||
|
}
|
||
|
|
||
|
}
|