Differential D20902 Diff 49821 src/applications/differential/query/DifferentialChangesetSearchEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/query/DifferentialChangesetSearchEngine.php
| Show All 16 Lines | final class DifferentialChangesetSearchEngine | ||||
| public function getResultTypeDescription() { | public function getResultTypeDescription() { | ||||
| return pht('Differential Changesets'); | return pht('Differential Changesets'); | ||||
| } | } | ||||
| public function getApplicationClassName() { | public function getApplicationClassName() { | ||||
| return 'PhabricatorDifferentialApplication'; | return 'PhabricatorDifferentialApplication'; | ||||
| } | } | ||||
| public function canUseInPanelContext() { | |||||
| return false; | |||||
| } | |||||
| public function newQuery() { | public function newQuery() { | ||||
| $query = id(new DifferentialChangesetQuery()); | $query = id(new DifferentialChangesetQuery()); | ||||
| if ($this->diff) { | if ($this->diff) { | ||||
| $query->withDiffs(array($this->diff)); | $query->withDiffs(array($this->diff)); | ||||
| } | } | ||||
| return $query; | return $query; | ||||
| ▲ Show 20 Lines • Show All 101 Lines • Show Last 20 Lines | |||||