[PHP] RE: PHP object communication

2001-10-29 Thread ad
Sorry, it was Tim that suggested that what I required wasn't really OO. My apologies Tim, and thanks for your emails. adam Adam Beecher - CEO & Core Geek - ieWebs™ e ... [EMAIL PROTECTED] w ... http://www.iewebs.com m ... Box 81, Eglinton St,

[PHP] RE: PHP object communication

2001-10-25 Thread Tim Ward
see below for comments Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, Octo

[PHP] RE: PHP object communication

2001-10-25 Thread ad
Hi Tim, > If you want access to error functions within the db class it must either > extend the error class or have an error object within it. Either ... > I'll go for the latter, because extends isn't appropriate in this case: > Class DB > { var $error; > ... > function DB() // constr

[PHP] RE: PHP object communication

2001-10-25 Thread Tim Ward
If you want access to error functions within the db class it must either extend the error class or have an error object within it. Either ... Class DB extends Error { ... } Class Core extends DB { ... } or Class DB { var $error; ... function DB() // constructor