[eluser]Nir Gavish[/eluser]
i need to pre-process a view before it is loaded - that is: get it from file, manipulate it, and then load it as a view. while the $return param allows me to *post* process the view, there appears to be no mechanism in-place to *pre*process it. did anyone else encounter this need? what is the most elegant solution? thanks in advance.

[eluser]Nir Gavish[/eluser]
hi, thanks again, i understand the concept of partial views, but this is one step further than your avarage partial view, the chief-view isn't meant to contain any php instructions whatsoever, i wish to inject the php *prior* to the execution of the view. this is done so that the chief-view (or master-page / template / whatever you may call it) contains only simple html, and not one line of php.

[eluser]Nir Gavish[/eluser]
hi again, after some inspection, it appears i will have to extend the CI loader if i want this done, add a method like load_view_from_string() or something along those lines, does anyone have any experience with that?