Differential D14833 Diff 35867 src/applications/search/engine/PhabricatorApplicationSearchEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/search/engine/PhabricatorApplicationSearchEngine.php
| Show First 20 Lines • Show All 1,349 Lines • ▼ Show 20 Lines | foreach ($extensions as $extension) { | ||||
| $attachments[$attachment_key] = $attachment; | $attachments[$attachment_key] = $attachment; | ||||
| } | } | ||||
| } | } | ||||
| return $attachments; | return $attachments; | ||||
| } | } | ||||
| final public function renderNewUserView() { | final public function renderNewUserView() { | ||||
| $head = $this->getNewUserHeader(); | |||||
| $body = $this->getNewUserBody(); | $body = $this->getNewUserBody(); | ||||
| if (!strlen($head) && !strlen($body)) { | if (!$body) { | ||||
| return null; | return null; | ||||
| } | } | ||||
| $viewer = $this->requireViewer(); | return $body; | ||||
| return id(new PHUIBoxView()) | |||||
| ->addMargin(PHUI::MARGIN_LARGE) | |||||
| ->appendChild($head) | |||||
| ->appendChild(new PHUIRemarkupView($viewer, $body)); | |||||
| } | } | ||||
| protected function getNewUserHeader() { | protected function getNewUserHeader() { | ||||
| return null; | return null; | ||||
| } | } | ||||
| protected function getNewUserBody() { | protected function getNewUserBody() { | ||||
| return null; | return null; | ||||
| } | } | ||||
| } | } | ||||