我正在使用 ZF2,我想使用 Zend_Config_Xml。查看库,目录结构看起来像这样......
Zend/Config/Config.php
然后有
Zend/Config/Reader/Xml.php
但这也不包含该类。Zend_Config_Xml 类在哪里???
我正在使用 ZF2,我想使用 Zend_Config_Xml。查看库,目录结构看起来像这样......
Zend/Config/Config.php
然后有
Zend/Config/Reader/Xml.php
但这也不包含该类。Zend_Config_Xml 类在哪里???
ZF2中没有Zend_Config_Xml
类,Zend_Config_Reader_Xml
是等价的。(Zend_Config_Xml
是 ZF1 的东西。)
文档有使用示例: http: //framework.zend.com/manual/2.2/en/modules/zend.config.reader.html#zend-config-reader-xml