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  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2006-12-16 12:57 UTC
Package:
Bug Type:
Summary:
From: albrecht at inseal dot de
New email:
PHP Version: Package Version: OS:

 

 [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