Query results - passing a string |
Hi,
i found this on die CI-Documentation: (http://www.codeigniter.com/userguide3/da...sults.html) Quote:You can also pass a string to result() which represents a class to instantiate for each result object (note: this class must be loaded) My Question: Where do i have to put this class (in which folder)? What is the code for such a class and what is the difference to a model? Do i have to create a seperate model class? I cant find anything in the documentation. A code sample would be great :-) |
Messages In This Thread |
Query results - passing a string - by groovebird - 08-22-2015, 06:25 AM
RE: Query results - passing a string - by CroNiX - 08-22-2015, 08:23 AM
RE: Query results - passing a string - by groovebird - 08-22-2015, 08:38 AM
RE: Query results - passing a string - by mwhitney - 08-24-2015, 08:26 AM
RE: Query results - passing a string - by groovebird - 08-30-2015, 04:26 AM
RE: Query results - passing a string - by mwhitney - 08-31-2015, 10:58 AM
RE: Query results - passing a string - by groovebird - 08-31-2015, 12:21 PM
RE: Query results - passing a string - by mwhitney - 08-31-2015, 12:44 PM
|