• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use Model as stand-alone (without controller or rest of CI)?


I would like to use CI's model functionality just by setting up the basic config/database.php configuration and instantiate my Models directly in my application.

Is there a way that I can do this?

Thank you

[quote author="sauronlord" date="1306979602"]
Is there a way that I can do this?

No, there is not. At least, you need one controller. M can live without V and C, in MVC pattern.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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