[eluser]J101[/eluser]
I have datamapper set up but I am having a few issues with the method chaining. Can someone give me a hand. The following code produces the correct results but I need to manipulate the results before rendering them. What I would like to do is build a json array from the results. I believe that this should be done inside the controller and not the view. Let me say that I am new to CI as well as datamapper but not new to OOP. I figured that I would build the json array inside the controller method and then echo the results to the view.