Changeset View
Changeset View
Standalone View
Standalone View
src/applications/paste/query/PhabricatorPasteSearchEngine.php
Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | $this->buildDateRange( | ||||
pht('Created Before')); | pht('Created Before')); | ||||
} | } | ||||
protected function getURI($path) { | protected function getURI($path) { | ||||
return '/paste/'.$path; | return '/paste/'.$path; | ||||
} | } | ||||
public function getBuiltinQueryNames() { | protected function getBuiltinQueryNames() { | ||||
$names = array( | $names = array( | ||||
'all' => pht('All Pastes'), | 'all' => pht('All Pastes'), | ||||
); | ); | ||||
if ($this->requireViewer()->isLoggedIn()) { | if ($this->requireViewer()->isLoggedIn()) { | ||||
$names['authored'] = pht('Authored'); | $names['authored'] = pht('Authored'); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines |