Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/auth/exception/PhabricatorAuthInviteDialogException.php
12256 views
1
<?php
2
3
abstract class PhabricatorAuthInviteDialogException
4
extends PhabricatorAuthInviteException {
5
6
private $title;
7
private $body;
8
private $submitButtonText;
9
private $submitButtonURI;
10
private $cancelButtonText;
11
private $cancelButtonURI;
12
13
public function __construct($title, $body) {
14
$this->title = $title;
15
$this->body = $body;
16
parent::__construct(pht('%s: %s', $title, $body));
17
}
18
19
public function getTitle() {
20
return $this->title;
21
}
22
23
public function getBody() {
24
return $this->body;
25
}
26
27
public function setSubmitButtonText($submit_button_text) {
28
$this->submitButtonText = $submit_button_text;
29
return $this;
30
}
31
32
public function getSubmitButtonText() {
33
return $this->submitButtonText;
34
}
35
36
public function setSubmitButtonURI($submit_button_uri) {
37
$this->submitButtonURI = $submit_button_uri;
38
return $this;
39
}
40
41
public function getSubmitButtonURI() {
42
return $this->submitButtonURI;
43
}
44
45
public function setCancelButtonText($cancel_button_text) {
46
$this->cancelButtonText = $cancel_button_text;
47
return $this;
48
}
49
50
public function getCancelButtonText() {
51
return $this->cancelButtonText;
52
}
53
54
public function setCancelButtonURI($cancel_button_uri) {
55
$this->cancelButtonURI = $cancel_button_uri;
56
return $this;
57
}
58
59
public function getCancelButtonURI() {
60
return $this->cancelButtonURI;
61
}
62
63
}
64
65