[eluser]miauksius[/eluser]
Hello,
I'm making a college project now, and the project is to make a website. I thought that I should write myself a very tiny codeigniter version, but I'm pretty new to PHP OOP. I want to be able load my classes for database management from controller (with $this->load->library('DB')
, and reach it from my controller with $this->DB->function(); now, I don't understand how do I assign from my loader class to controller class variable DB and set a DB class to it? I've been reading about relationship between classes, but didn't find what I need