Re: Re: configuration class - skeleton code for first OOP adventure
| From: | anders thoresson | Date: | Wed, 08 Oct 2003 18:44:49 +0000 |
| Subject: | Re: Re: configuration class - skeleton code for first OOP adventure | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165500@lists.php.net to get a copy of this message | ||
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.You mean that I don't need a separate function for setConfigurationFile, but could rather include the controlling code in my constructor? -- anders thoresson