Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/query/PhabricatorAuthSSHKeySearchEngine.php
Show All 17 Lines | public function canUseInPanelContext() { | ||||
return false; | return false; | ||||
} | } | ||||
public function getResultTypeDescription() { | public function getResultTypeDescription() { | ||||
return pht('SSH Keys'); | return pht('SSH Keys'); | ||||
} | } | ||||
public function getApplicationClassName() { | public function getApplicationClassName() { | ||||
return 'PhabricatorAuthApplication'; | return PhabricatorAuthApplication::class; | ||||
} | } | ||||
public function newQuery() { | public function newQuery() { | ||||
$object = $this->getSSHKeyObject(); | $object = $this->getSSHKeyObject(); | ||||
$object_phid = $object->getPHID(); | $object_phid = $object->getPHID(); | ||||
return id(new PhabricatorAuthSSHKeyQuery()) | return id(new PhabricatorAuthSSHKeyQuery()) | ||||
->withObjectPHIDs(array($object_phid)); | ->withObjectPHIDs(array($object_phid)); | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0