I have stuck with implementing a simple scenario. I have 2 views for a single controller
MyController
view/scripts/my/index.phtml
/index2.phtml
I know $this->view->test = "test"
will set 'test' view variable for index.phtml
.
but I would like to know how to set a variable for index2.phtml
.