$model->to_array();
I tried that but when its unserialize the related objects are arrays not objects so in views its $articles->postsJelmer Schreuder wrote on Sunday 29th of May 2011:$model->to_array();
Should be enough, I don't see any use in converting it to a stdClass object.
ErrorException [ Error ]: Call to a member function to_array() on a non-object
It looks like you're new here. If you want to get involved, click one of these buttons!