Changeset View
Changeset View
Standalone View
Standalone View
src/applications/base/controller/PhabricatorController.php
Show First 20 Lines • Show All 414 Lines • ▼ Show 20 Lines | public function newDialog() { | ||||
$submit_uri = new PhutilURI($this->getRequest()->getRequestURI()); | $submit_uri = new PhutilURI($this->getRequest()->getRequestURI()); | ||||
$submit_uri = $submit_uri->getPath(); | $submit_uri = $submit_uri->getPath(); | ||||
return id(new AphrontDialogView()) | return id(new AphrontDialogView()) | ||||
->setUser($this->getRequest()->getUser()) | ->setUser($this->getRequest()->getUser()) | ||||
->setSubmitURI($submit_uri); | ->setSubmitURI($submit_uri); | ||||
} | } | ||||
public function newRedirect() { | |||||
return id(new AphrontRedirectResponse()); | |||||
} | |||||
public function newPage() { | public function newPage() { | ||||
$page = id(new PhabricatorStandardPageView()) | $page = id(new PhabricatorStandardPageView()) | ||||
->setRequest($this->getRequest()) | ->setRequest($this->getRequest()) | ||||
->setController($this) | ->setController($this) | ||||
->setDeviceReady(true); | ->setDeviceReady(true); | ||||
$application = $this->getCurrentApplication(); | $application = $this->getCurrentApplication(); | ||||
if ($application) { | if ($application) { | ||||
▲ Show 20 Lines • Show All 217 Lines • Show Last 20 Lines |