Closed (fixed)
Project:
Services
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2007 at 18:30 UTC
Updated:
8 Mar 2008 at 00:02 UTC
How would you set the key field of an array argument in a service function? When there's an array field, you can create an array, but are limited to the indexes of the array.
Passing Hello, there, Foo, Bar would result in an array of:
[0] => "Hello";
[1] => "there";
[2] => "Foo";
[3] => "Bar";
But what if you want:
["Hello"] => "there";
["Foo"] => "Bar";
Comments
Comment #1
marcingy commented