Welcome Guest, Not a member yet? Register   Sign In
Where to put classes of business logic?
#7

[eluser]xwero[/eluser]
To include just use the php function include, CI's loader methods are all based on that function.

I think it's not wise to declare your class in a helper. Then you can only instantiate it once like the CI classes. Just put you class code in a helper and then load the helper. The initialization happens in the controller.


Messages In This Thread
Where to put classes of business logic? - by El Forum - 09-25-2008, 01:58 AM
Where to put classes of business logic? - by El Forum - 09-25-2008, 02:23 AM
Where to put classes of business logic? - by El Forum - 09-25-2008, 02:26 AM
Where to put classes of business logic? - by El Forum - 09-25-2008, 02:41 AM
Where to put classes of business logic? - by El Forum - 09-25-2008, 02:48 AM
Where to put classes of business logic? - by El Forum - 09-25-2008, 02:58 AM
Where to put classes of business logic? - by El Forum - 09-25-2008, 03:20 AM
Where to put classes of business logic? - by El Forum - 09-25-2008, 03:23 AM
Where to put classes of business logic? - by El Forum - 09-25-2008, 03:26 AM
Where to put classes of business logic? - by El Forum - 09-25-2008, 03:35 AM
Where to put classes of business logic? - by El Forum - 09-25-2008, 04:01 AM
Where to put classes of business logic? - by El Forum - 09-25-2008, 07:11 AM
Where to put classes of business logic? - by El Forum - 09-25-2008, 07:29 AM
Where to put classes of business logic? - by El Forum - 09-25-2008, 07:30 AM
Where to put classes of business logic? - by El Forum - 09-25-2008, 08:34 AM
Where to put classes of business logic? - by El Forum - 09-25-2008, 02:26 PM
Where to put classes of business logic? - by El Forum - 09-25-2008, 03:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB