Welcome to Abdul Malik Ikhsan's Blog

Zend Framework 2 : MvcEvent – get __NAMESPACE__ / Module Name from Layout

Posted in Tutorial PHP, Zend Framework 2 by samsonasik on July 27, 2012

I just created a module named ZfCommons that can initialize common functionality over module. For this post, i want to introduce a set ‘layout variable’ functionality with example : __NAMESPACE__, so we can echo-ing the module name / __NAMESPACE__ from layout.

Read More