@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
3
4final class PhabricatorEditPage
5 extends Phobject {
6
7 private $key;
8 private $label;
9 private $fieldKeys = array();
10 private $viewURI;
11 private $isDefault;
12
13 public function setKey($key) {
14 $this->key = $key;
15 return $this;
16 }
17
18 public function getKey() {
19 return $this->key;
20 }
21
22 public function setLabel($label) {
23 $this->label = $label;
24 return $this;
25 }
26
27 public function getLabel() {
28 return $this->label;
29 }
30
31 public function setFieldKeys(array $field_keys) {
32 $this->fieldKeys = $field_keys;
33 return $this;
34 }
35
36 public function getFieldKeys() {
37 return $this->fieldKeys;
38 }
39
40 public function setIsDefault($is_default) {
41 $this->isDefault = $is_default;
42 return $this;
43 }
44
45 public function getIsDefault() {
46 return $this->isDefault;
47 }
48
49 public function setViewURI($view_uri) {
50 $this->viewURI = $view_uri;
51 return $this;
52 }
53
54 public function getViewURI() {
55 return $this->viewURI;
56 }
57
58}