[eluser]AndrewMalachel[/eluser]
Ahhh... yes.. it's my mistakes...
I just read the user_guide manual again, and I believe I'd skipped the
"function _output" parts...
This function doesn't need to be called since if you put it in your controller,
CI will automatically call it at the and of it process, as a post-process,
before the data are sent to the browser...
and the first parameter of the function holds the output 'raw' material..
from what I'd read, (I think) you can get the raw by using the third
parameter of the load-view function...
i.e:
Code:
$this->output = $this->load->view('my_view', $my_data, TRUE);
and the output:
Code:
function _output(){
echo $this->output;
or maybe..
Code:
function _output($data = $this->output){
echo $data;
The above code has never been tested before by me..
hope I get it right...
Since I'd never use the _output function, I totally forgot about it..
Let me dig up and try something with the _output function...
hope I can paid up my mistakes above...
just wait...
Ugh.. shame on me...