#694: AgaviReturnArrayConfigHandler
--------------------+-------------------------------------------------------
Reporter: ross | Owner: dominik
Type: defect | Status: new
Priority: normal | Milestone: 0.11.1
Component: config | Version: 0.11.0
Severity: normal | Keywords:
Has_patch: 0 |
--------------------+-------------------------------------------------------
Strange key naming in this use case - the nested key is 0 when it should
be browser.
{{{
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<configurations>
<configuration>
<browsers>
<browser>
<name>Firefox on Linux</name>
<browser>*firefox /usr/lib/firefox/firefox-bin</browser>
<host>localhost</host>
<port>4444</port>
<timeout>30000</timeout>
</browser>
</browsers>
</configuration>
</configurations>
}}}
For the browser it produces:
{{{
Array
(
[name] => Firefox on Linux
[0] => *firefox /usr/lib/firefox/firefox-bin
[host] => localhost
[port] => 4444
[timeout] => 30000
)
}}}
--
Ticket URL: <http://trac.agavi.org/ticket/694>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets