Top "Zend-framework-mvc" questions

Zend Framework is an open source, object oriented web application framework for PHP 5. Zend Framework is often called a 'component library', because it has many loosely coupled components that you can use more or less independently.

ZF2: Get url parameters in controller

I have experienced Zend Framework 1 and I've build some apps with that framework. Now, I'm experimenting Zend Framework 2, but I'm …

php zend-framework2 zend-framework-mvc
How to render ZF2 view within JSON response?

So far, I have figured out how to return a typical JSON response in Zend Framework 2. First, I added the …

php json zend-framework2 zend-framework-mvc
ZF2 - Get controller name into layout/views

I know with ZF1 you would retrieve the module/controller name using custom View Helpers that would get the singleton …

php zend-framework zend-framework-mvc zend-framework2
ZF2: How to pass parameters to forward plugin which I can then get in the method I forward them to?

I have an Action method in Foo Controller which requires parameters: public function fooAction($one, $two) { $a = one; $b = $two; } …

php zend-framework2 zend-framework-mvc zend-framework-routing
ZF2 - How to change the error/404 response page? Not just template but to set a new ViewModel

By default the page is set like this in the Application module.config array: 'template_map' => array( 'error/404' =&…

php zend-framework2 http-status-code-404 zend-view zend-framework-mvc
How to render a page in zend framework 2?

I used below code to render a page in the controller action. public function userinforeceiveAction() { $renderer = new PhpRenderer(); $map = new …

php zend-framework zend-framework2 zend-framework-mvc
Setting Page Title - headTitle() - Zend Framework 2 ZF2

I am currently in the process of building an application with ZF2, everything is going well so far, but I …

zend-framework zend-framework2 zend-framework-mvc
Zend Framework: Controller Plugins vs Action Helpers

Could someone give few tips and/or examples how Controller Plugins and Action Helpers are different? Are there situations where …

zend-framework zend-framework-mvc