Re: configuration class - skeleton code for first OOP adventure
| From: | Paul van Schayck | Date: | Wed, 08 Oct 2003 18:36:12 +0000 |
| Subject: | Re: configuration class - skeleton code for first OOP adventure | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165493@lists.php.net to get a copy of this message | ||
Hello,
listor@thoresson.net (Anders Thoresson) wrote
> Is this a good start, or should I change anything?
I'm not a OO expert but I think you could include the SetConfigurationFile
() function in your contructor. And if it fails inside the constructor exit
to your other class controlling errors.
Polleke