@@ 148-150 (lines=3) @@ | ||
145 | */ |
|
146 | public function GET($method, $action, $query = array()) |
|
147 | { |
|
148 | if (!isset($query['projectid']) && !is_null($this->projectId)) { |
|
149 | $query['projectid'] = $this->getProjectId(); |
|
150 | } |
|
151 | ||
152 | $query['apikey'] = $this->getApiKey(); |
|
153 | $query = array_reverse($query); |
|
@@ 173-175 (lines=3) @@ | ||
170 | */ |
|
171 | public function POST($method, $action, $query = array()) |
|
172 | { |
|
173 | if (!isset($query['projectid']) && !is_null($this->projectId)) { |
|
174 | $query['projectid'] = $this->getProjectId(); |
|
175 | } |
|
176 | ||
177 | $query['apikey'] = $this->getApiKey(); |
|
178 | $query = array_reverse($query); |