I have a problem that view getRender function can be invoked once (or once per one file) otherwise there is some uncatchable error and script ends without error message.
F.e. when i do this:
$contentsIndex= $this->view->getRender('controller', 'index');
It's ok, but when I do this:
$contentsIndex= $this->view->getRender('controller', 'index');
$contentsIndex= $this->view->getRender('controller', 'index');
It's bad (of course this double code is for testful purpose). I tested it for a simple volt file which had some simple chars, and cloning the view didn't help.
I need it because my controllers have the same searchAction. And finally i decided to make a non action search version and i need to render the results into variable. The issue is not my code related..
Could anybody help? Is this a bug?