Top Level :: Configuration

Package Information: Config

Show All Changelogs
» Version » Information
1.10.11Download

Release date: 2007-06-12 05:29 UTC
Release state: stable

Changelog:

* Fixed Bug #11184: Knock on problems from fix for Bug #10185. Thanks to
Thomas Despoix and Carsten Wiedmann for helping me understand it properly.

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
  • PEAR Package: XML_Parser (optional)
  • PEAR Package: XML_Util (optional)
1.10.10Download

Release date: 2007-03-27 01:07 UTC
Release state: stable

Changelog:

* Fix Bug #10010: numeric index lost when parsing subarrays
* Fix Bug #10185: problem with addslashs in container "PHPArray" / method "toString"

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
  • PEAR Package: XML_Parser (optional)
  • PEAR Package: XML_Util (optional)
1.10.9Download

Release date: 2006-12-22 00:37 UTC
Release state: stable

Changelog:

* Fixed Bug #9632: PHPConstants container not registered. Thanks to
Clemens Lang <neverpanic at gmail dot com>

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
  • PEAR Package: XML_Parser (optional)
  • PEAR Package: XML_Util (optional)
1.10.8Download

Release date: 2006-11-10 01:02 UTC
Release state: stable

Changelog:

* Fixed Bug #7097: writeConfig incorrect when root has attributes

Dependencies:
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: XML_Util (optional)
  • PEAR Package: XML_Parser (optional)
1.10.8RC1Download

Release date: 2006-10-20 03:27 UTC
Release state: beta

Changelog:

* Fixed Bug #7097: writeConfig incorrect when root has attributes
This fix has the potential to break other things as it is a big change to the
PHPArray backend. Please test.

Dependencies:
  • PHP Version: PHP 4.3.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
  • PEAR Package: XML_Parser (optional)
  • PEAR Package: XML_Util (optional)
1.10.7Download

Release date: 2006-08-11 02:24 UTC
Release state: stable

Changelog:

Changelog:
* Fixed Bug #7544: Empty attributes in IniCommented are being discarded (Luis Correa d'Almeida)
* Fixed Bug #7652: wrong xml to phparray convert. Caused by counting position
of directives and sections seperately. While when converting to some containers
we want to count them together.
* Add tests to confirm behaviour of Bug #8357. Do not believe it is fixable without removing
features.

Dependencies:
1.10.6Download

Release date: 2006-02-14 01:55 UTC
Release state: stable

Changelog:

Changelog:
* More PHP 4.4 and 5.1 return by reference fixes
* Fixed bug #4477 fatal error when key of array is longer than 114 chars under PHP4.x
* Fixed bug #6385 Allow colon in directive name in IniCommented to match IniFile.
* Fixed bug #6441 true and false literals should be parsed appropriately. Booleans are now parsed the same as in parse_ini_file()

Dependencies:
1.10.5Download

Release date: 2006-01-03 05:40 UTC
Release state: stable

Changelog:

Changelog:
* Make what we add quotes around consistent between IniFile and IniCommented.
* Fixed bug #3137 Adding a comment caused problems outputing in phparray format.
* Fixed bug #3590 Handling phparray formats with implicit numeric keys.
* Fixed bug #4623 Rendering to Apache format a second time looses section attributes.
* Fixed bug #5598 Allow '=' in values and output it correctly in IniFile format.
* Fixed bugs #5033, #5835, #6294 Return only variables by reference as required by PHP 4.4 and 5.1.
* Partial Fix for #6385 Allow colon in directive name in IniCommented to match IniFile.

Dependencies:
1.10.4Download

Release date: 2005-02-12 19:18 UTC
Release state: stable

Changelog:

Changelog:
* Fixed bug #3298 which wouldn't parse arrays with numerical indexes correctly.
*Fixed bug #2742 which didn't trim variable names in Inicommented file
*changed XML_Parser and XML_Util dependencies to optional, since they're only needed
when parsing XML files (bug #2738)
*added a new container for editing files of php constants, courtesy of philip ortel [me@phillipoertel.com] (devel)

Dependencies:
1.10.3Download

Release date: 2004-10-20 04:09 UTC
Release state: stable

Changelog:

Changelog:
*Fixed bug #2179 which prevented URL's containting ~ in ini files to be parsed correctly
*Fixed bug #2439 which caused Config_Containter::countChildren() to return a PEAR_ERROR
object when called on a non-section Config_Container object. This change brings
the object's behavior inline with the documentation. Beware, if your code relies
on the previous behavior, this change may break your code.

Dependencies:
1.10.2Download

Release date: 2004-06-15 09:32 UTC
Release state: stable

Changelog:

* Fixed bug #1633 related to case-sensitivity of method names in PHP4.
causing PHPArray container not to work correctly. See also #1556.
Patch provided by m at tacker dotorg.

Dependencies:
1.10.1Download

Release date: 2004-06-04 10:27 UTC
Release state: stable

Changelog:

* Fixed problems with PHP5 case sensitivity on class and method names.
* Added possibility to actually replace the root container by using method
Config::setRoot() with a container of type 'section' and name 'root'.
* XML parser now makes use of the encoding specified in the options array.
* Fixed a warning with array_splice() on an unset $children.

Dependencies:
1.10Download

Release date: 2003-11-29 12:01 UTC
Release state: stable

Changelog:

* Added 'isFile' option to XML container
* Fix a bug when a directive has no content in XML configurations
* Fix slowdown caused by uniqid() on Linux
* Fix regular expression for directives in .ini files (Emil Biserov)
* Fix bug #132 concerning % in .ini files (Wagner netsols.de)
* Fix possible warning if text is empty in .ini commented (Dean Urmson)
* Small speed optimizations

Dependencies:
1.9Download

Release date: 2003-09-21 22:06 UTC
Release state: stable

Changelog:

* Added a new boolean option/parameter in XML, PHPArray and toArray() to set
whether attributes should be rendered.
* Added comments rendering in XML.
* Fix typo in PHPArray when setting the configuration array name (Laurent Laville)

Dependencies:
1.8.1Download

Release date: 2003-09-07 17:09 UTC
Release state: stable

Changelog:

* Fix a bug in XML container related to cdata handler read by chunk, reported by Stephan Wentz

Dependencies:
1.8Download

Release date: 2003-08-16 15:26 UTC
Release state: stable

Changelog:

* Fix a bug in setRoot() for the XML generator
* Added new method searchPath() to Config_Container (taken from Alan Knowles for XML_Tree)
* Added float detection in Config_Container_PHPArray (Sylvinus Prodi)
* Uses XML_Util in xml container for special entities translation, customizable linebreaks, indents, xml declaration

Dependencies:
1.7Download

Release date: 2003-06-16 14:38 UTC
Release state: stable

Changelog:

* Added new method registerConfigType() (Greg Beaver)
* Root containers are not named 'root' anymore (Bertrand Mansion)
* IniCommented handles comma, quotes, slashes (Greg Beaver)
* IniFile and IniCommented take care of slashes (Greg Beaver)
* Method _parseArray() in PHPArray refactored and much faster (Bertrand Mansion)
* Fix bugs with certain type of arrays with PHPArray (Bertrand Mansion)
* PHPArray now returns values between single quotes (Jean-Marc Fontaine)

Dependencies:
1.6Download

Release date: 2003-05-20 13:10 UTC
Release state: stable

Changelog:

* Fix bug #23690 in toArray reported by Rob Halff

Dependencies:
1.5Download

Release date: 2003-04-14 15:53 UTC
Release state: stable

Changelog:

* Added an id private property for each node
* Fix a bug in toArray when items are duplicates

Dependencies:
1.4Download

Release date: 2003-04-02 16:54 UTC
Release state: stable

Changelog:

* Fix setDirective method in Container
* Fix warnings in foreach loop when attributes are not set
* Added phpdoc comments

Dependencies:
1.3Download

Release date: 2003-03-27 02:20 UTC
Release state: stable

Changelog:

* Fixed missing quote in xml generation (Nicolas Guennoc)
* Fixed warning in xml container when no attributes (Nicolas Guennoc)
* Added methods getAttribute and updateAttributes to container.
* Added possibility to get item by looking at its attributes in getItem()
* PHPArray container automatically generates array name when not specified in options
* XML Container can accept a name too that will generate the global root entity if needed

Dependencies:
1.2Download

Release date: 2003-03-24 20:05 UTC
Release state: stable

Changelog:

First stable release.
* Added an XML container (uses XML_Parser),
* Possibility to convert from one format to another,
* Fixes in toArray(),
* Added attributes to containers,
* New methods for item manipulation.

Dependencies:
1.1Download

Release date: 2002-10-08 14:25 UTC
Release state: beta

Changelog:

Fix bug in toArray().
Thanks to Mark Polsen for noticing it.

1.0Download

Release date: 2002-10-06 14:25 UTC
Release state: beta

Changelog:

Complete rewrite : API has changed.
The class now uses a tree structure of container objects.
As a consequence, backward compatibility is not provided !!!
Look at the Apache.php and IniCommented.php scripts in 'docs' for usage examples.
Some containers are still missing : XML and DB.

0.3.1Download

Release date: 2002-07-02 18:50 UTC
Release state: stable

Changelog:

Documentation is in README.Config.
0.3.1
- E_ALL fixes