Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.12

Bug #4722 Missing config types in Config::parseConfig()
Submitted: 2005-07-01 07:00 UTC
From: albrecht at inseal dot de Assigned: aashley
Status: Closed Package: Config
PHP Version: 5.0.4 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 43 - 33 = ?

 
 [2005-07-01 07:00 UTC] albrecht at inseal dot de
Description: ------------ In the documentation in chapter Config::parseConfig() it says: string $configType Type of configuration to parse That's it. But it would be very helpful to list the available configuration types here so you do not have to search at Google or GoogleGroups or in the source code of Config to find the supported configuration types. Just add: Available configuration types are: "Apache", "GenericConf", "IniCommented", "IniFile", "PHPArray", "XML" The same at Config_Container::writeDatasrc() and Config::writeConfig(). If you do not want to change it at each page you can even add a new page containing all supported formats and add hyperlinks to the method pages. Thanks very much. Expected result: ---------------- Others may find supported configuration types faster and can use the Config class directly without searching in news groups and source codes.

Comments

 [2006-02-14 01:37 UTC] aashley at php dot net
I've created a patch with the new documentation at http://www.adamashley.name/stuff/doco-available-config-types.diff Finding out how to get it committed to peardoc now.
 [2006-08-11 01:53 UTC] aashley at php dot net (Adam Ashley)
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/Config