Changeset View
Changeset View
Standalone View
Standalone View
src/view/form/PHUIPagedFormView.php
Show First 20 Lines • Show All 214 Lines • ▼ Show 20 Lines | public function setCancelURI($cancel_uri) { | ||||
$this->cancelURI = $cancel_uri; | $this->cancelURI = $cancel_uri; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getCancelURI() { | public function getCancelURI() { | ||||
return $this->cancelURI; | return $this->cancelURI; | ||||
} | } | ||||
public function getTagContent() { | protected function getTagContent() { | ||||
$form = id(new AphrontFormView()) | $form = id(new AphrontFormView()) | ||||
->setUser($this->getUser()); | ->setUser($this->getUser()); | ||||
$selected_page = $this->getSelectedPage(); | $selected_page = $this->getSelectedPage(); | ||||
if (!$selected_page) { | if (!$selected_page) { | ||||
throw new Exception('No selected page!'); | throw new Exception('No selected page!'); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |