Changeset View
Changeset View
Standalone View
Standalone View
src/applications/search/engine/PhabricatorSearchEngineAPIMethod.php
Show All 36 Lines | $engine = $this->newSearchEngine() | ||||
->setViewer($request->getUser()); | ->setViewer($request->getUser()); | ||||
return $engine->buildConduitResponse($request); | return $engine->buildConduitResponse($request); | ||||
} | } | ||||
final public function getMethodDescription() { | final public function getMethodDescription() { | ||||
return pht( | return pht( | ||||
'This is a standard **ApplicationSearch** method which will let you '. | 'This is a standard **ApplicationSearch** method which will let you '. | ||||
'list, query, or search for objects.'); | 'list, query, or search for objects. For documentation on these '. | ||||
'endpoints, see **[[ %s | Conduit API: Using Search Endpoints ]]**.', | |||||
PhabricatorEnv::getDoclink('Conduit API: Using Edit Endpoints')); | |||||
} | } | ||||
final public function getMethodDocumentation() { | final public function getMethodDocumentation() { | ||||
$viewer = $this->getViewer(); | $viewer = $this->getViewer(); | ||||
$engine = $this->newSearchEngine() | $engine = $this->newSearchEngine() | ||||
->setViewer($viewer); | ->setViewer($viewer); | ||||
▲ Show 20 Lines • Show All 519 Lines • Show Last 20 Lines |