1 | <?php |
||
22 | class DomainRecord extends AbstractApi |
||
23 | { |
||
24 | /** |
||
25 | * @param string $domainName |
||
26 | * |
||
27 | * @return DomainRecordEntity[] |
||
28 | */ |
||
29 | public function getAll($domainName) |
||
41 | |||
42 | /** |
||
43 | * @param string $domainName |
||
44 | * @param int $id |
||
45 | * |
||
46 | * @return DomainRecordEntity |
||
47 | */ |
||
48 | public function getById($domainName, $id) |
||
56 | |||
57 | /** |
||
58 | * @param string $domainName |
||
59 | * @param string $type |
||
60 | * @param string $name |
||
61 | * @param string $data |
||
62 | * @param int $priority |
||
63 | * @param int $port |
||
64 | * @param int $weight |
||
65 | * @param int $ttl |
||
66 | * |
||
67 | * @throws HttpException|InvalidRecordException |
||
68 | * |
||
69 | * @return DomainRecordEntity |
||
70 | */ |
||
71 | public function create($domainName, $type, $name, $data, $priority = null, $port = null, $weight = null, $ttl = null) |
||
114 | |||
115 | /** |
||
116 | * @param string $domainName |
||
117 | * @param int $recordId |
||
118 | * @param string|null $name |
||
119 | * @param string|null $data |
||
120 | * @param int|null $priority |
||
121 | * @param int|null $port |
||
122 | * @param int|null $weight |
||
123 | * @param int|null $ttl |
||
124 | * |
||
125 | * @throws HttpException |
||
126 | * |
||
127 | * @return DomainRecordEntity |
||
128 | */ |
||
129 | public function update($domainName, $recordId, $name = null, $data = null, $priority = null, $port = null, $weight = null, $ttl = null) |
||
138 | |||
139 | /** |
||
140 | * @param string $domainName |
||
141 | * @param int $recordId |
||
142 | * @param string $data |
||
143 | * |
||
144 | * @throws HttpException |
||
145 | * |
||
146 | * @return DomainRecordEntity |
||
147 | */ |
||
148 | public function updateData($domainName, $recordId, $data) |
||
152 | |||
153 | /** |
||
154 | * @param string $domainName |
||
155 | * @param int $recordId |
||
156 | * @param array $fields |
||
157 | * |
||
158 | * @throws HttpException |
||
159 | * |
||
160 | * @return DomainRecordEntity |
||
161 | */ |
||
162 | public function updateFields($domainName, $recordId, $fields) |
||
170 | |||
171 | /** |
||
172 | * @param string $domainName |
||
173 | * @param int $recordId |
||
174 | */ |
||
175 | public function delete($domainName, $recordId) |
||
179 | } |
||
180 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.