Changeset View
Changeset View
Standalone View
Standalone View
src/applications/almanac/query/AlmanacBindingSearchEngine.php
<?php | <?php | ||||
final class AlmanacBindingSearchEngine | final class AlmanacBindingSearchEngine | ||||
extends PhabricatorApplicationSearchEngine { | extends PhabricatorApplicationSearchEngine { | ||||
public function getResultTypeDescription() { | public function getResultTypeDescription() { | ||||
return pht('Almanac Bindings'); | return pht('Almanac Bindings'); | ||||
} | } | ||||
public function getApplicationClassName() { | public function getApplicationClassName() { | ||||
return 'PhabricatorAlmanacApplication'; | return PhabricatorAlmanacApplication::class; | ||||
} | } | ||||
public function newQuery() { | public function newQuery() { | ||||
return new AlmanacBindingQuery(); | return new AlmanacBindingQuery(); | ||||
} | } | ||||
protected function buildCustomSearchFields() { | protected function buildCustomSearchFields() { | ||||
return array( | return array( | ||||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0