My question basically is that I have lot of routes set up for CRUD operations. So inside the controller there are different action for Insert, Update, Delete and Select. For the Insert, Update and Delete I would like to use the same view script. Is that possible?
You simply set the view script name using the ViewRenderer
action helper. For example
$this->_helper->viewRenderer('action');
Edit: If the view script is part of a different controller, see ZEND, rendering different view with data
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With