'DivinerListController', ); } public function buildMainMenuItems( PhabricatorUser $user, PhabricatorController $controller = null) { $items = array(); $application = null; if ($controller) { $application = $controller->getCurrentApplication(); } if ($application && $application->getHelpURI()) { $class = 'main-menu-item-icon-help'; $item = new PhabricatorMainMenuIconView(); $item->setName(pht('%s Help', $application->getName())); $item->addClass('autosprite main-menu-item-icon '.$class); $item->setHref($application->getHelpURI()); $item->setSortOrder(0.1); $items[] = $item; } return $items; } }