You are here

public function ServicesEndpointTests::services_flatten_fields in Services 6.3

Modifies our array data so we can turn it into a querystring

Parameters

string $item - array value:

string $key - key of the array element:

File

tests/functional/ServicesEndpointTests.test, line 343

Class

ServicesEndpointTests
Run test cases for the endpoint with no authentication turned on.

Code

public function services_flatten_fields(&$item, $key) {
  $item = $key . '=' . $item;
}