Is there a way to output View without buffering in Kohana?

361 views Asked by At

(does the MVC archtecture support this ability in general?)

2

There are 2 answers

0
shadowhand On

You cannot output a view line by line without buffering. Kohana uses an output buffer to capture the view as it is being rendered, then returns the output buffer as a string. You would have to overload View::render() with an extension or create your own class to bypass this.

0
akond On

Check Kohana::close_buffers().