Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conduit/query/PhabricatorConduitSearchEngine.php
<?php | <?php | ||||
final class PhabricatorConduitSearchEngine | final class PhabricatorConduitSearchEngine | ||||
extends PhabricatorApplicationSearchEngine { | extends PhabricatorApplicationSearchEngine { | ||||
public function getResultTypeDescription() { | public function getResultTypeDescription() { | ||||
return pht('Conduit Methods'); | return pht('Conduit Methods'); | ||||
} | } | ||||
public function getApplicationClassName() { | public function getApplicationClassName() { | ||||
return 'PhabricatorConduitApplication'; | return 'PhabricatorConduitApplication'; | ||||
} | } | ||||
public function canUseInPanelContext() { | |||||
return false; | |||||
} | |||||
public function getPageSize(PhabricatorSavedQuery $saved) { | public function getPageSize(PhabricatorSavedQuery $saved) { | ||||
return PHP_INT_MAX - 1; | return PHP_INT_MAX - 1; | ||||
} | } | ||||
public function buildSavedQueryFromRequest(AphrontRequest $request) { | public function buildSavedQueryFromRequest(AphrontRequest $request) { | ||||
$saved = new PhabricatorSavedQuery(); | $saved = new PhabricatorSavedQuery(); | ||||
$saved->setParameter('isStable', $request->getStr('isStable')); | $saved->setParameter('isStable', $request->getStr('isStable')); | ||||
▲ Show 20 Lines • Show All 167 Lines • Show Last 20 Lines |