1 <?php
2
3 namespace rpf\api\module;
4 use rpf\api\apiModule;
5
6 7 8 9 10 11
12 class bbDomain_readEntry extends apiModule
13 {
14 protected $rpcMethod = 'bbDomain::readEntry';
15
16 17 18 19 20 21
22 public function setDomainId($dn)
23 {
24 return $this->addParam('dn', (integer) $dn);
25 }
26
27 28 29 30 31 32 33
34 public function setOeid($oeid)
35 {
36 return $this->addParam('oeid', (integer) $oeid);
37 }
38
39 40 41 42 43 44 45 46
47 public function setSeid($seid)
48 {
49 return $this->addParam('seid', (integer) $seid);
50 }
51
52 53 54 55 56 57
58 public function addSubdomain($bool = true)
59 {
60 return $this->addParam('return_subdomain', (bool) $bool);
61 }
62
63 64 65 66 67 68 69
70 public function addFrontpage($bool = true)
71 {
72 return $this->addParam('return_frontpage', (bool) $bool);
73 }
74
75 76 77 78 79
80 public function addMajor($bool = true)
81 {
82 return $this->addParam('return_major', (bool) $bool);
83 }
84
85 86 87 88 89 90 91
92 public function addSettings($bool = true)
93 {
94 return $this->addParam('return_settings', (bool) $bool);
95 }
96
97 98 99 100 101 102 103
104 public function addHandles($bool = true)
105 {
106 return $this->addParam('return_handles', (bool) $bool);
107 }
108
109 110 111 112 113
114 public function addStaid($bool = true)
115 {
116 return $this->addParam('return_staid', (bool) $bool);
117 }
118
119 120 121 122 123 124
125 public function addNameserver($bool = true)
126 {
127 return $this->addParam('return_nameserver', (bool) $bool);
128 }
129
130 131 132 133 134 135 136 137
138 public function addSpf($bool = true)
139 {
140 return $this->addParam('return_spf', (bool) $bool);
141 }
142
143 144 145 146
147 public function addWebalizerSettings($bool = true)
148 {
149 return $this->addParam('return_webalizersettings', (bool) $bool);
150 }
151
152 153 154 155
156 public function addPhpini($bool = true)
157 {
158 return $this->addParam('return_phpini', (bool) $bool);
159 }
160
161 162 163 164
165 public function addResellerFields($bool = true)
166 {
167 return $this->addParam('return_reseller_fields', (bool) $bool);
168 }
169
170 171 172 173
174 public function addRpc($bool = true)
175 {
176 return $this->addParam('return_rpc', (bool) $bool);
177 }
178
179 180 181 182
183 public function addLimits($bool = true)
184 {
185 return $this->addParam('return_limits', (bool) $bool);
186 }
187 }