Welcome Guest, Not a member yet? Register   Sign In
Best practce for calling functions between models
#5

[eluser]johnpeace[/eluser]
A library is really just a class. If you have several models to interact with, it would probably be easier/better to encapsulate those functions into a library that loads the appropriate models and interacts with them there. No reason you can't load a model within another model and call it's methods...but a library is probably more 'best practice'


Messages In This Thread
Best practce for calling functions between models - by El Forum - 08-21-2012, 05:34 PM
Best practce for calling functions between models - by El Forum - 08-21-2012, 06:49 PM
Best practce for calling functions between models - by El Forum - 08-21-2012, 07:04 PM
Best practce for calling functions between models - by El Forum - 08-21-2012, 07:21 PM
Best practce for calling functions between models - by El Forum - 08-22-2012, 11:57 AM
Best practce for calling functions between models - by El Forum - 08-23-2012, 12:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB