Rendering in Kohana 3.0.7

An example of rendering in new Kohana 3:

In this example you can’t use $view->render(TRUE);

The right syntax would be: $this->request->response = $view->render();

See example below:

welcome.php

And here is yourview.php:

Loading index.php/welcome will out put:

Leave a Reply

Your email address will not be published. Required fields are marked *

*