[PHP] Re: Include and extending classes

2005-06-16 Thread Matthew Weier O'Phinney
* Mike Smith <[EMAIL PROTECTED]>: > In core.class.php I have my generic special html methods and my db > connection. I'm having trouble accessing $this->db (initialized in > core.class.php) from user.class.php. Am I wrong in thinking > user.class.php should be able to access methods/attributes of >

[PHP] Re: Include and extending classes

2005-06-16 Thread Jason Barnett
Mike Smith wrote: I'm trying to consolidate code in a new project. My dirs are: / /inc core.class.php /mods /mods/system system.class.php //extends core.class.php user.class.php //extends system.class.php In core.class.php I have my generic special html methods and my db connection.