![]() |
Controller.php - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Controller.php (/showthread.php?tid=55335) |
Controller.php - El Forum - 10-22-2012 [eluser]marjune[/eluser] Hi! I've been checked out the core in codeigniter and i came some interesting stuff that i couldn't seem understand. like in the Controller.php Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); i know that this class CI can run as one big super object. so we can easily use like Code: $this->db->query(); and etc.. but some of the things i couldn't understand is like the Code: $this->db->query(); where in the hell in Code: function &load;_class() Code: $this->db = New CI_DB_mysql_driver Code: $this->load->view; $this->load->model(); thanks |