Welcome Guest, Not a member yet? Register   Sign In
Load table library in the controller ?!?
#1

[eluser]FranckRR[/eluser]
I am trying CI 1.7.2 under Apache 2.2.11 / php 5.3.0

When I use table library, there's a problem (I mean for me it's a problem). I must load the library in the controller to be able to use it in my view ... WEIRD !! ...

I thought that for layers separation sake, I must not declare anything other than models and logic in controller ... doing
$this->load->library('table');
in a controller make all the MVC concept unuseful !

I hope I made a mistake, that you can currently load the table library in a view.

Could anyone confirm that I am wrong ?

Thanks


Messages In This Thread
Load table library in the controller ?!? - by El Forum - 11-25-2009, 08:15 AM
Load table library in the controller ?!? - by El Forum - 11-25-2009, 08:45 AM
Load table library in the controller ?!? - by El Forum - 11-25-2009, 08:53 AM
Load table library in the controller ?!? - by El Forum - 11-27-2009, 04:39 AM
Load table library in the controller ?!? - by El Forum - 11-27-2009, 04:57 AM
Load table library in the controller ?!? - by El Forum - 11-27-2009, 05:05 AM
Load table library in the controller ?!? - by El Forum - 11-27-2009, 09:09 AM
Load table library in the controller ?!? - by El Forum - 11-27-2009, 09:21 AM
Load table library in the controller ?!? - by El Forum - 11-27-2009, 01:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB