On 23 Sep 2008, at 18:56, Ralf Eggert wrote:

Hi,

has anyone any idea about this (see forwarded message)? Thanks for
clarification.

Best regards,

Ralf

Ralf Eggert schrieb am 19.09.2008 23:01:
Hi,

I know that both Zend_Config_Ini and Zend_Config_Xml support sections
and extending sections for config data definitions. In the manual I read
that Zend_Config also supports sections when used with PHP arrays. If
this is right, how can this be achieved?

If not, I think this passage of the manual is a little unclear:

The Zend_Config family of classes enables configuration data to be
organized into sections. Zend_Config adapter objects may be loaded
with a single specified section, multiple specified sections, or
all sections (if none are specified).

http://framework.zend.com/manual/en/zend.config.theory_of_operation.html


The Zend_Config adapter classes for INI and XML files support the loading of a specified section. For Zend_Config itself (which loads arrays), you just load the array you want to use. We'll have to see if we can make this clearer in the manual.

Regards,

Rob...

Reply via email to