3 final class PhabricatorSearchHandleController
4 extends PhabricatorSearchBaseController
{
6 public function shouldAllowPublic() {
10 public function handleRequest(AphrontRequest
$request) {
11 $viewer = $this->getViewer();
12 $phid = $request->getURIData('phid');
14 $handles = $viewer->loadHandles(array($phid));
15 $handle = $handles[$phid];
17 $cancel_uri = $handle->getURI();
39 $icon = $handle->getIcon();
41 $icon = id(new PHUIIconView())
42 ->setIcon($handle->getIcon());
52 $handle->getObjectName(),
62 $handle->getFullName(),
72 $handle->renderLink(),
75 $table = id(new AphrontTableView($rows))
82 return $this->newDialog()
83 ->setTitle(pht('Handle: %s', $phid))
84 ->setWidth(AphrontDialogView
::WIDTH_FORM
)
86 ->addCancelButton($cancel_uri, pht('Done'));