Welcome Guest, Not a member yet? Register   Sign In
How to create reusable model or controller ?
#1

[eluser]Wades[/eluser]
Hi guys, after using CI for developing several websites, I really love this framework.
and now I'd like to make it more flexible, so I want to make some reusable models or controller. What I want to do is that:

suppose there are two models: A_model and B_model
then there is a function in A_model called function_a();
so how could I use function_a() of A_model in B_model?
Is anybody can help me?


Messages In This Thread
How to create reusable model or controller ? - by El Forum - 10-02-2007, 08:32 PM
How to create reusable model or controller ? - by El Forum - 10-02-2007, 10:59 PM
How to create reusable model or controller ? - by El Forum - 10-03-2007, 01:49 AM
How to create reusable model or controller ? - by El Forum - 10-03-2007, 02:57 AM
How to create reusable model or controller ? - by El Forum - 10-03-2007, 03:50 AM
How to create reusable model or controller ? - by El Forum - 10-03-2007, 04:06 AM
How to create reusable model or controller ? - by El Forum - 10-03-2007, 04:13 AM
How to create reusable model or controller ? - by El Forum - 10-03-2007, 05:25 AM
How to create reusable model or controller ? - by El Forum - 10-03-2007, 01:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB