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

#1
[eluser]sauronlord[/eluser]
Hello,

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

#2
[eluser]toopay[/eluser]
[quote author="sauronlord" date="1306979602"]
Is there a way that I can do this?
[/quote]

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.