08-14-2016, 08:02 PM
(08-14-2016, 12:53 AM)Paradinight Wrote: The __call method is wrong. The "get" method in Codeigniter return not the db object. It return a result object. The result does not exist in the db object.
In the __call method you need to return the result object.
http://www.codeigniter.com/user_guide/da...ilder::get
http://www.codeigniter.com/user_guide/da...er::select
Well, damn, you're right. Thanks for catching that! I've fixed it up in the text and the sample code and pushed another version live.