Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/query/ConpherenceThreadSearchEngine.php
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | final class ConpherenceThreadSearchEngine | ||||
protected function getURI($path) { | protected function getURI($path) { | ||||
return '/conpherence/search/'.$path; | return '/conpherence/search/'.$path; | ||||
} | } | ||||
protected function getBuiltinQueryNames() { | protected function getBuiltinQueryNames() { | ||||
$names = array(); | $names = array(); | ||||
$names['all'] = pht('All Rooms'); | |||||
if ($this->requireViewer()->isLoggedIn()) { | if ($this->requireViewer()->isLoggedIn()) { | ||||
$names['participant'] = pht('Joined Rooms'); | $names['participant'] = pht('Joined Rooms'); | ||||
} | } | ||||
$names['all'] = pht('All Rooms'); | |||||
return $names; | return $names; | ||||
} | } | ||||
public function buildSavedQueryFromBuiltin($query_key) { | public function buildSavedQueryFromBuiltin($query_key) { | ||||
$query = $this->newSavedQuery(); | $query = $this->newSavedQuery(); | ||||
$query->setQueryKey($query_key); | $query->setQueryKey($query_key); | ||||
▲ Show 20 Lines • Show All 352 Lines • Show Last 20 Lines |