I have a weird problem: I extended Zend_Log with a class called \Application\Log (it just contains a log method that overload’s Zend_Log‘s method of the same name). But when I run $log = new \Application\Log();, php tries to run the log method for some reason, as if it’s a php4-style constructor. What can I do to get around this?
I have a weird problem: I extended Zend_Log with a class called \Application\Log (it
Share
Try to specify a blank constructor in the child class.