Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phrequent/query/PhrequentSearchEngine.php
| <?php | <?php | ||||
| final class PhrequentSearchEngine extends PhabricatorApplicationSearchEngine { | final class PhrequentSearchEngine extends PhabricatorApplicationSearchEngine { | ||||
| public function getResultTypeDescription() { | public function getResultTypeDescription() { | ||||
| return pht('Phrequent Time'); | return pht('Phrequent Time'); | ||||
| } | } | ||||
| public function getApplicationClassName() { | public function getApplicationClassName() { | ||||
| return 'PhabricatorPhrequentApplication'; | return 'PhabricatorPhrequentApplication'; | ||||
| } | } | ||||
| public function canUseInPanelContext() { | |||||
| return false; | |||||
| } | |||||
| public function getPageSize(PhabricatorSavedQuery $saved) { | public function getPageSize(PhabricatorSavedQuery $saved) { | ||||
| return $saved->getParameter('limit', 1000); | return $saved->getParameter('limit', 1000); | ||||
| } | } | ||||
| public function buildSavedQueryFromRequest(AphrontRequest $request) { | public function buildSavedQueryFromRequest(AphrontRequest $request) { | ||||
| $saved = new PhabricatorSavedQuery(); | $saved = new PhabricatorSavedQuery(); | ||||
| $saved->setParameter( | $saved->setParameter( | ||||
| ▲ Show 20 Lines • Show All 178 Lines • Show Last 20 Lines | |||||