About the self keyword in static methods 2

While setting up a test server for some software I wrote at the office, I eventually noticed the following notice: Notice: Use of undefined constant self - assumed 'self' That surprised me, because 1) I though self were some kind of "superglobal" constant or a special token of the parser,...

Extending Zend_Controller_Router_Route: the singleton problem. 5

Today I ran into an issue while extending Zend_Controller_Router_Route. I wanted to add a little path pre/post processing in the match() and assemble() methods, so I just extended the Route class to add my tiny bits of code into the methods. Except it did not work at all. After a few debuging, it...

Top tags