Welcome Guest, Not a member yet? Register   Sign In
object and mysql_fetch_object
#1

[eluser]Schumacher[/eluser]
Hallo.
I have been sniffing around codeigniter a while back, and now a project has come up which i think codeigniter would fit perfectly.
But i would like to make it as OOP as possible, but i can't seem to find the key to unlock that.
I want to have some object presentation thing on the site, like a user object, and the model should fetch data from the database and put it in the user object. I found the mysql_fetch_object method which does that, but i can't seem to find it in the database libary in codeigniter.
So here are my questions:
Where should a user class be placed, in the arkitekture?
And are the any way with codeigniter for me to get this oop way to fill a object in a simple way.?




Theme © iAndrew 2016 - Forum software by © MyBB