Not sure what the point or use of "1=test1" as an argument. Or maybe I
am missing the reason.  I would use 'testname=test1' so I could put it
anywhere in the argument list and someone reading the function would
know what they need to pass the function.

Seems strange to have unnamed argument that could appear in random
position in the list?
i.e. what is different about these two?  Would a plugin really be able
to treat them equally or would the plugin react differently for
each.
term 2=test2 'six' field=value 'two' three="3" 1=test
term 2=test2 'two' field=value 'six' three="3" 1=test

So I think you got it pretty good in the original except for choosing
'' as the array key which took me a long time to figure out since i
didn;t understand php arrays much!   Why not just change the double
quote to a reserved word
    ['unnamed'][1] => term   or     ['#'][1] => term
    ['unnamed'][2] => two    or     ['#'][2] => two
    [2] => test2
    [field] => value
    [three] => 3
    [1] => test

I'd prefer the double array like above instead of [#1]   (if # isn't
allowed as array key then use reserved word.)

Anyway, I'm OK with whatever you implement as long as I can get the
field-value pairs in the array and I can get the unnamed arguments
with numerical index of order.

john
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to