Re: Can not access object from extended class

2011-09-02 Thread Christian Grobmeier
; this? > > Thanks, > Mike > > -Original Message- > From: Ivan Habunek [mailto:ivan.habu...@gmail.com] > Sent: Thursday, September 01, 2011 2:29 AM > To: Log4PHP User > Subject: Re: Can not access object from extended class > > On 31.8.2011. 19:09, Michael S

RE: Can not access object from extended class

2011-09-02 Thread Michael Sole
? Thanks, Mike -Original Message- From: Ivan Habunek [mailto:ivan.habu...@gmail.com] Sent: Thursday, September 01, 2011 2:29 AM To: Log4PHP User Subject: Re: Can not access object from extended class On 31.8.2011. 19:09, Michael Sole wrote: > Actually this is how I have it: >

Re: Can not access object from extended class

2011-08-31 Thread Ivan Habunek
On 31.8.2011. 19:09, Michael Sole wrote: Actually this is how I have it: http://pastebin.com/1Z1EcQcZ And the error is: Fatal error: Call to a member function info() on a non-object in And in this case it would be on this line: $this->log->info("From within"); The example you provided works o

RE: Can not access object from extended class

2011-08-31 Thread Michael Sole
mailto:ivan.habu...@gmail.com] Sent: Wednesday, August 31, 2011 12:54 PM To: Log4PHP User Subject: Re: Can not access object from extended class On 31.8.2011. 18:46, Michael Sole wrote: > I have an application that uses a base Database class and then each > class extends that. This gives easy

Re: Can not access object from extended class

2011-08-31 Thread Ivan Habunek
On 31.8.2011. 18:46, Michael Sole wrote: I have an application that uses a base Database class and then each class extends that. This gives easy database access to all the classes and insures that proper logging is maintain by all my developers. If I create a new instance of the database class d

Can not access object from extended class

2011-08-31 Thread Michael Sole
I have an application that uses a base Database class and then each class extends that. This gives easy database access to all the classes and insures that proper logging is maintain by all my developers. If I create a new instance of the database class directly the logging works fine, when I c