@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 PhabricatorChangesetViewState
4 extends Phobject {
5
6 private $highlightLanguage;
7 private $characterEncoding;
8 private $documentEngineKey;
9 private $rendererKey;
10 private $defaultDeviceRendererKey;
11 private $hidden;
12 private $modifiedSinceHide;
13 private $discardResponse;
14
15 public function setHighlightLanguage($highlight_language) {
16 $this->highlightLanguage = $highlight_language;
17 return $this;
18 }
19
20 public function getHighlightLanguage() {
21 return $this->highlightLanguage;
22 }
23
24 public function setCharacterEncoding($character_encoding) {
25 $this->characterEncoding = $character_encoding;
26 return $this;
27 }
28
29 public function getCharacterEncoding() {
30 return $this->characterEncoding;
31 }
32
33 public function setDocumentEngineKey($document_engine_key) {
34 $this->documentEngineKey = $document_engine_key;
35 return $this;
36 }
37
38 public function getDocumentEngineKey() {
39 return $this->documentEngineKey;
40 }
41
42 public function setRendererKey($renderer_key) {
43 $this->rendererKey = $renderer_key;
44 return $this;
45 }
46
47 public function getRendererKey() {
48 return $this->rendererKey;
49 }
50
51 public function setDefaultDeviceRendererKey($renderer_key) {
52 $this->defaultDeviceRendererKey = $renderer_key;
53 return $this;
54 }
55
56 public function getDefaultDeviceRendererKey() {
57 return $this->defaultDeviceRendererKey;
58 }
59
60 public function setHidden($hidden) {
61 $this->hidden = $hidden;
62 return $this;
63 }
64
65 public function getHidden() {
66 return $this->hidden;
67 }
68
69 public function setModifiedSinceHide($modified_since_hide) {
70 $this->modifiedSinceHide = $modified_since_hide;
71 return $this;
72 }
73
74 public function getModifiedSinceHide() {
75 return $this->modifiedSinceHide;
76 }
77
78 public function setDiscardResponse($discard_response) {
79 $this->discardResponse = $discard_response;
80 return $this;
81 }
82
83 public function getDiscardResponse() {
84 return $this->discardResponse;
85 }
86
87}