Changeset View
Changeset View
Standalone View
Standalone View
src/applications/badges/query/PhabricatorBadgesSearchEngine.php
<?php | <?php | ||||
final class PhabricatorBadgesSearchEngine | final class PhabricatorBadgesSearchEngine | ||||
extends PhabricatorApplicationSearchEngine { | extends PhabricatorApplicationSearchEngine { | ||||
public function getResultTypeDescription() { | public function getResultTypeDescription() { | ||||
return pht('Badges'); | return pht('Badges'); | ||||
} | } | ||||
public function getApplicationClassName() { | public function getApplicationClassName() { | ||||
return 'PhabricatorBadgesApplication'; | return PhabricatorBadgesApplication::class; | ||||
} | } | ||||
public function newQuery() { | public function newQuery() { | ||||
return new PhabricatorBadgesQuery(); | return new PhabricatorBadgesQuery(); | ||||
} | } | ||||
protected function buildCustomSearchFields() { | protected function buildCustomSearchFields() { | ||||
return array( | return array( | ||||
▲ Show 20 Lines • Show All 138 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