• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
where is Controller class in CI

am new in this framework. but have good experience from PHP.
Every class extends Controller class.But controller class is not included in same page using require_once() or other function. so how to call controller class without include.
But this framework already extends Controller class in every page without include or require.
so how is it possible.
Please explain to me..
awaiting for reply.

It goes by the MVC pattern. First the index.php file, constants are being defined and paths of the system and application folders, then system/codeigniter/CodeIgniter.php file is being called and on line 148 in it the Controller class is being called. Have a look at the CodeIgniter.php file and all the files that it includes there and what those files do.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.