@@ 243-249 (lines=7) @@ | ||
240 | * @param string $contentType |
|
241 | * @return \Wabel\CertainAPI\CertainRessourceAbstract |
|
242 | */ |
|
243 | public function postWithEventCode($eventCode, $ressourceId, $bodyData, |
|
244 | $query = array(), $assoc = false, |
|
245 | $contentType = 'json') |
|
246 | { |
|
247 | $ressourceId = $eventCode.'/'.$ressourceId; |
|
248 | return $this->post($bodyData, $query, $ressourceId, $assoc, $contentType); |
|
249 | } |
|
250 | ||
251 | /** |
|
252 | * |
|
@@ 261-267 (lines=7) @@ | ||
258 | * @param string $contentType |
|
259 | * @return \Wabel\CertainAPI\CertainRessourceAbstract |
|
260 | */ |
|
261 | public function putWithEventCode($eventCode, $ressourceId, $bodyData, |
|
262 | $query = array(), $assoc = false, |
|
263 | $contentType = 'json') |
|
264 | { |
|
265 | $ressourceId = $eventCode.'/'.$ressourceId; |
|
266 | return $this->put($bodyData, $query, $ressourceId, $assoc, $contentType); |
|
267 | } |
|
268 | ||
269 | /** |
|
270 | * |