CI framework source code reading --------- Controller. php & lt ;? Phpif (! Defined ('basepath') exit ('nodirectscriptaccessallowed');/*** CodeIgniter ** An CI framework source code reading --------- Controller. php
$ Class) {$ this-> $ var = & load_class ($ class);} // load the Loader component to the Super Controller. this component is a good helper of the super controller, // you often use $ this-> load-> xxx () to load something. // this load is generated when the controller is constructed. $ This-> load = & load_class ('loader ', 'core'); // initialize the Loader component. php $ this-> load-> initialize (); log_message ('debug', "Controller Class Initialized");} public static function & get_instance () {return self :: $ instance ;}// END Controller class/* End of file Controller. php * // * Location :. /system/core/Controller. php */