Welcome Guest, Not a member yet? Register   Sign In
About codeiniters structure
#2

[eluser]Florian Müller[/eluser]
It actually works in about this order. Point 1 with libraries, helpers, etc. could be specified more detailed, but this I also do not know.

With Models, it's a bit more complicated. You can also specify models in your autoload.php so they will get loaded before any controllers. If autoloading succeeded, the called controller will be loaded and this one can load more stuff like views or models ($this->load->view() / $this->load->model()). I'm sure you also saw CodeIgniters Loader-Class documentation.

Regards, Florian


Messages In This Thread
About codeiniters structure - by El Forum - 11-07-2012, 11:27 PM
About codeiniters structure - by El Forum - 11-09-2012, 03:49 AM
About codeiniters structure - by El Forum - 11-09-2012, 05:28 AM
About codeiniters structure - by El Forum - 11-14-2012, 01:37 AM
About codeiniters structure - by El Forum - 11-14-2012, 02:05 AM
About codeiniters structure - by El Forum - 11-14-2012, 03:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB