Hello,
Is there a way to have Zend_Config_Ini or Zend_Config_Xml allow for multiple
items of the same thing, so it becomes an array. For example, I want to have a
config that sets a list of script paths. So something like:
<config>
<production>
<database>
<type></type>
<host></host>
etc..
</database>
<scriptPaths>
<path>/path/to/scripts/here/abc</path>
<path>/path/to/scripts/here/xyz</path>
<path>/path/to/scripts/here/123</path>
</scriptPaths>
</production>
<staging>
staging stuff here
</staging>
</config>
Whenever I use Zend_Config_Xml, only the last path is saved. simplexml allows
it to be an array, but looking at the code for Zend_Config_Xml, it doesn't look
like it can. Any suggestions?
Thanks,
Shawn