Changeset View
Changeset View
Standalone View
Standalone View
src/applications/releeph/query/ReleephBranchSearchEngine.php
<?php | <?php | ||||
final class ReleephBranchSearchEngine | final class ReleephBranchSearchEngine | ||||
extends PhabricatorApplicationSearchEngine { | extends PhabricatorApplicationSearchEngine { | ||||
private $product; | private $product; | ||||
public function getResultTypeDescription() { | public function getResultTypeDescription() { | ||||
return pht('Releeph Branches'); | return pht('Releeph Branches'); | ||||
} | } | ||||
public function canUseInPanelContext() { | |||||
return false; | |||||
} | |||||
public function getApplicationClassName() { | public function getApplicationClassName() { | ||||
return 'PhabricatorReleephApplication'; | return 'PhabricatorReleephApplication'; | ||||
} | } | ||||
public function setProduct(ReleephProject $product) { | public function setProduct(ReleephProject $product) { | ||||
$this->product = $product; | $this->product = $product; | ||||
return $this; | return $this; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 177 Lines • Show Last 20 Lines |