mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-12 00:26:13 +01:00
29 lines
644 B
PHP
29 lines
644 B
PHP
|
<?php
|
||
|
|
||
|
final class ConduitResultSearchEngineExtension
|
||
|
extends PhabricatorSearchEngineExtension {
|
||
|
|
||
|
const EXTENSIONKEY = 'conduit';
|
||
|
|
||
|
public function isExtensionEnabled() {
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
public function getExtensionName() {
|
||
|
return pht('Support for ConduitResultInterface');
|
||
|
}
|
||
|
|
||
|
public function supportsObject($object) {
|
||
|
return ($object instanceof PhabricatorConduitResultInterface);
|
||
|
}
|
||
|
|
||
|
public function getFieldSpecificationsForConduit($object) {
|
||
|
return $object->getFieldSpecificationsForConduit();
|
||
|
}
|
||
|
|
||
|
public function getFieldValuesForConduit($object) {
|
||
|
return $object->getFieldValuesForConduit();
|
||
|
}
|
||
|
|
||
|
}
|