I came up with an ugly workaround:

if (0 !== $config->get('elements')->get('element')) {
 // 
}

This helps me to identify if there is more then one elements under elements
tag.

Very ugly.

Anithing smarter?

--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Zend-Config-Xml-strange-behaviour-tp3400013p3402708.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com


Reply via email to