What is View Rendering in Zend Framework and how to use it ?
View Rendering is a technique which provide us to Access Another View Script functionality . it can be use when we write common logic that would use for different Controller
Step 1. first Add Path of that file which you want to use in your controller. like this
Step 2 . After Adding the script Path Set your file name in setRender function for Rendering like this
that’s it now you can use any view script file for your controller
Note:- I have used “demo” in Addscript and “demodata” in setRneder for only reference you have to use your own .