Re: Config class

From: Date: Thu, 25 Jul 2002 12:42:45 +0000
Subject: Re: Config class
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7976@lists.php.net to get a copy of this message
le 25/07/02 14:29, Pierre-Alain Joye à paj@pearfr.org a écrit : > On Thu, 25 Jul 2002 14:16:40 +0200 > Bertrand Mansion <bmansion@mamasam.com> wrote: > >> Could you tell me which classes use the Config class in PEAR ? >> >> I am presently working on a rewrite because I need some features that are >> not implemented and that cannot happen if the data array structure stays the >> same. If possible, I would like both API to compatible. > > If you change the data structure, try to provide method to access it. That is > "slower", but you can keep BC while changing the inside structure, or ? ^^^^ what is BC ? Don't use acronyms with me please :-) Yes, I would like to add methods for delete, add, replace lines in config files. Presently, configuration parameter lines are not stored in the data array, I would like to add that. I don't think I will use locking as there is supposed to be one user at a time to change config files. Don't you think ? Note, this is only a project of mine, I don't know if I will manage to make it work as I want... Bertrand Mansion Mamasam

« previous php.pear.dev (#7976) next »