Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/herald/ManiphestTaskTitleHeraldField.php
<?php | <?php | ||||
final class ManiphestTaskTitleHeraldField | final class ManiphestTaskTitleHeraldField | ||||
extends ManiphestTaskHeraldField { | extends ManiphestTaskHeraldField { | ||||
const FIELDCONST = 'maniphest.task.title'; | const FIELDCONST = 'maniphest.task.title'; | ||||
public function getHeraldFieldName() { | public function getHeraldFieldName() { | ||||
return pht('Title'); | return pht('Title'); | ||||
} | } | ||||
public function getHeraldFieldValue($object) { | public function getHeraldFieldValue($object) { | ||||
return $object->getTitle(); | return $object->getTitle(); | ||||
} | } | ||||
protected function getHeraldFieldStandardConditions() { | protected function getHeraldFieldStandardType() { | ||||
return self::STANDARD_TEXT; | return self::STANDARD_TEXT; | ||||
} | } | ||||
public function getHeraldFieldValueType($condition) { | |||||
return HeraldAdapter::VALUE_TEXT; | |||||
} | |||||
} | } |