Remove all "FileHasObject" edge reads and writes
[phabricator.git] / src / applications / auth / exception / PhabricatorAuthInviteDialogException.php
blob5ac0fcffbdbb732a8dea5d34692724674e8a6e3a
1 <?php
3 abstract class PhabricatorAuthInviteDialogException
4 extends PhabricatorAuthInviteException {
6 private $title;
7 private $body;
8 private $submitButtonText;
9 private $submitButtonURI;
10 private $cancelButtonText;
11 private $cancelButtonURI;
13 public function __construct($title, $body) {
14 $this->title = $title;
15 $this->body = $body;
16 parent::__construct(pht('%s: %s', $title, $body));
19 public function getTitle() {
20 return $this->title;
23 public function getBody() {
24 return $this->body;
27 public function setSubmitButtonText($submit_button_text) {
28 $this->submitButtonText = $submit_button_text;
29 return $this;
32 public function getSubmitButtonText() {
33 return $this->submitButtonText;
36 public function setSubmitButtonURI($submit_button_uri) {
37 $this->submitButtonURI = $submit_button_uri;
38 return $this;
41 public function getSubmitButtonURI() {
42 return $this->submitButtonURI;
45 public function setCancelButtonText($cancel_button_text) {
46 $this->cancelButtonText = $cancel_button_text;
47 return $this;
50 public function getCancelButtonText() {
51 return $this->cancelButtonText;
54 public function setCancelButtonURI($cancel_button_uri) {
55 $this->cancelButtonURI = $cancel_button_uri;
56 return $this;
59 public function getCancelButtonURI() {
60 return $this->cancelButtonURI;