I’m used to working with Zend Framework where I can do a partial render. In this render, the according action is called and I get the output from the render.
Now, Is there a way to do something like this with YII too?
I’m making a request to a controller/action which is the report of several calculations. Since the combination of calculations isn’t the same for every report, I created a controller for each calculation. Every controller has an action, called report where the calculations are being done. This report action uses data from the database. Is there a way to generate a page with multiple views? (one for every calculation)
Have one controller function in which it has called to different function to get the various calculations to get the data, then parse this to the template where you can then parse these into partials.
In controller
In view