@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class PhabricatorTransactionWarning
4 extends Phobject {
5
6 private $titleText;
7 private $continueActionText;
8 private $cancelActionText;
9 private $warningParagraphs = array();
10
11 public function setTitleText($title_text) {
12 $this->titleText = $title_text;
13 return $this;
14 }
15
16 public function getTitleText() {
17 return $this->titleText;
18 }
19
20 public function setContinueActionText($continue_action_text) {
21 $this->continueActionText = $continue_action_text;
22 return $this;
23 }
24
25 public function getContinueActionText() {
26 return $this->continueActionText;
27 }
28
29 public function setCancelActionText($cancel_action_text) {
30 $this->cancelActionText = $cancel_action_text;
31 return $this;
32 }
33
34 public function getCancelActionText() {
35 return $this->cancelActionText;
36 }
37
38 public function setWarningParagraphs(array $warning_paragraphs) {
39 $this->warningParagraphs = $warning_paragraphs;
40 return $this;
41 }
42
43 public function getWarningParagraphs() {
44 return $this->warningParagraphs;
45 }
46
47}