Zend_Config Documentation in 0.2
Note that the documentation for Zend_Config is wrong in version 0.2 of the Zend Framework, as awormus has found out!
Key things to know:
- Instantiation
$config = new Zend_Config_Ini('file.ini', 'section');
- Zend_Config_Array has been removed
- It’s no longer necessary as you can do:
require 'config.php';
$config = new Zend_Config($config);
- Inheritence in Zend_Config_Ini has changed
- Was:
[proof] extends = common
Now:
[proof : common]
We’ll get the docs sorted soon, sorry!
Update:The wiki version of the manual has been updated thanks to Darby!
Hello Rob, in case you didn't know. The wiki manual gets updated every 30 minutes (including incubator). Although it doesn't delete removed pages yet. I'm still workin on it, but it should be fixed pretty soon.
Good point Andries!
The updated Zend_Config documentation can be seen at http://framework.zend.com/wiki/display/ZFDOCDEV/Zend_Config
The issue for the page deletion has been fixed, so "deleted" pages get actually "deleted" now ;)