Welcome Guest, Not a member yet? Register   Sign In
Create my own cart class named cart
#2

[eluser]ipsod[/eluser]
Just go with the standard overwriting of CI classes. When you define a class using your prefix (usually MY_), it allows you to call it by saying $CI->cart->(etc.), effectively replacing CI's cart class.

Not sure why you'd care what the text file and class are titled when you can call it this way, unless it's some sort of severe OCD, in which case, seek help elsewhere.


Messages In This Thread
Create my own cart class named cart - by El Forum - 06-09-2011, 10:17 AM
Create my own cart class named cart - by El Forum - 06-10-2011, 04:11 PM
Create my own cart class named cart - by El Forum - 06-11-2011, 08:23 AM
Create my own cart class named cart - by El Forum - 06-12-2011, 06:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB