In my recent zf2 (zend framework 2.1) project module I defined a logger with a stream writer and a firephp writer. I am using the same module also for some console requests (Zend\Console). The problem I had was that the system complains of the firephp logger when I did a console request: [plain] ====================================================================== The application has thrown an exception! …
zf2 – Get the route name in a custom view helper
======================== IMPORTANT UPDATE: this is a very old post – find a better way in my post “zf2/zf3 – get the route name in a custom view helper” ======================== Ever tried to get the route name in your custom view helper in a zf2 (zend framework 2.1) project? I searched a lot – until I realized that I have …
zf2, doctrine module and expressions (like ‘IS NOT NULL’)
Currently I am working on a migration of a zend framework 1 project to zf2 (zend framework 2). Furthermore I want to introduce Doctrine to the project. There are some useful articles about installing and using the zf2 doctrine module. After some hours I found out how to use modules and Doctrine in zf2. Sometimes you will have code like …